ArcObjects Library Reference (DataSourcesFile)  

ISMStop.MinDistanceToTurn Property

Minimal allowed distance to turn.

[Visual Basic .NET]
Public Property MinDistanceToTurn As Double
[C#]
public double MinDistanceToTurn {get; set;}
[C++]
HRESULT get_MinDistanceToTurn(
  double* pdDist
);
[C++]
HRESULT put_MinDistanceToTurn(
  double pdDist
);
[C++]

Parameters

pdDist [out, retval]   pdDist is a parameter of type double pdDist [in]   pdDist is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the minimum allowed distance to turn.

Remarks

This value is used to indicate how SMRouter should handle the first turn of each route leg. The Router generates the shortest path route in a way that the first turn does not appear within the MinDistanceToTurn specified in miles, unless a turn is required to proceed based on the current direction of travel (i.e. road ends, fork in the road, etc.) In the scenario where a turn is required, the route is generated from the street that has the least turn angle from the preceding street.  In the case where turn angles are within 10 of each other, these are considered equal turn angles, and the route is generated from the intersection that is being traveled through.

See Also

ISMStop Interface