ArcObjects Library Reference  (NetworkAnalyst)    

INALocator.SnapTolerance Property

The distance to search.

[Visual Basic 6.0]
Property SnapTolerance As Double
[Visual Basic .NET]
Public Property SnapTolerance As Double
[C#]
public double SnapTolerance {get; set;}
[Java]
public Double getSnapTolerance()
throws
    IOException,
    AutomationException
[Java]
public void setSnapTolerance(
Double SnapTolerance
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_SnapTolerance(
  double* tolerance
);
[C++]
HRESULT put_SnapTolerance(
  double tolerance

);

[C++]

Parameters

tolerance [out, retval]

  tolerance is a parameter of type double

tolerance [in]

  tolerance is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The SnapTolerance property specifies the minimum search tolerance used when finding network locations.  If nothing is found within this tolerance, the search tolerance is doubled until a network location is found or INALocator2::MaxSnapTolerance is reached.

See Also

INALocator Interface

 


Feedback Send feedback on this page