This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMStop Interface > ISMStop.MinDistanceToTurn Property (ArcObjects .NET 10.4 SDK) |
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
Returns the minimum allowed distance to turn.
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.