This document is archived and information here might be outdated. Recommended version. |
The maximum deviation from a pure straight turn to be classified as a straight turn.
[Visual Basic .NET] Public Property MaxStraightTurnDeflectionAngle As Integer
[C#] public int MaxStraightTurnDeflectionAngle {get; set;}
[C++]
HRESULT get_MaxStraightTurnDeflectionAngle(
System.Int32* maxDeflectionAngle
);
[C++]
HRESULT put_MaxStraightTurnDeflectionAngle(
long maxDeflectionAngle
);
[C++]
Parameters maxDeflectionAngle [out, retval]
maxDeflectionAngle is a parameter of type long* maxDeflectionAngle [in]
maxDeflectionAngle is a parameter of type long
The MaxStraightTurnDeflectionAngle determines whether a NetworkTurnElement's is considered going straight, based on its Angle.
For example, if the MaxStraightTurnDeflectionAngle is set to 45, then a turn is considered going straight if its Angle is within 45 degrees of either 0 or 360 degrees (going perfectly straight) -- that is, if the angle is between 0 and 45 degrees or between 315 and 360 degrees, inclusive.