This document is archived and information here might be outdated. Recommended version. |
Minimal allowed distance to turn.
[Visual Basic .NET]
Public Property MinDistanceToTurn As Double
[C#]
public double MinDistanceToTurn {get; set;}
[C++]
HRESULT get_MinDistanceToTurn(
void
);
[C++]
HRESULT put_MinDistanceToTurn(
);
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.