Telogis.GeoBase.Routing.TurnMovement |
TurnMovement inherits from Routing.MovementEvent.
A wrapper class to be filled server-side that represents a turn movement.
Name | Description |
---|---|
getPrevLeft () | Gets the name of the Routing.MovementEvent that occurs immediately on the left before the calling Routing.TurnMovement in the set of directions it belongs to. ReturnsString - The name of the previous left movement, or an empty string if none was available. |
getPrevLeftCount () | Gets the number of Routing.MovementEvents occurring on the left before the calling Routing.TurnMovement in the set of directions it belongs to. ReturnsNumber - The number of previous movements on the left, or -1 if this value is unavailable. |
getPrevRight () | Gets the name of the Routing.MovementEvent that occurs immediately on the right before the calling Routing.TurnMovement in the set of directions it belongs to. ReturnsString - The name of the previous right movement, or an empty string if none was available. |
getPrevRightCount () | Gets the number of Routing.MovementEvents occurring on the right before the calling Routing.TurnMovement in the set of directions it belongs to. ReturnsNumber - The number of previous movements on the right, or -1 if this value is unavailable. |
isEndOfStreet () | Tests whether the Routing.TurnMovement occurs at the end of a street. ReturnsBoolean - True if the turn-movement is at the end of a street; false otherwise. |
isLeftTurn () | Tests whether the Routing.TurnMovement represents a left turn. ReturnsBoolean - True if the turn-movement is a left turn; false otherwise. |
isRightTurn () | Tests whether the Routing.TurnMovement represents a right turn. ReturnsBoolean - True if the turn-movement is a right turn; false otherwise. |