Direction |
Top Previous Next |
Returns the turning angle (0-359) at node2 when moving from link1 to link2 via node2. This is based on the exact coordinates of the polylines and the node.
Link1 and link2 must both be connected to node2. Specifying node2 may seem superfluous, but is required since link1 and link2 could be parallel links.
Straight on is 0, to the left is 90, backward is 180 and to the right is 270.
Syntax: Direction(link1,node,link2: integer): integer
|