Download PDF version
Transcript
Reference 4.36 67 CostTime Property CostTime: double; See Route for a description. Default value is 0. CostTime>=0. ActiveX / VCL / CLX component: RWcalc 4.37 Direction1 Function Direction1(node1, node2, node3: integer): integer; Returns the turning angle (0-359) at node2 when moving from node1 to node3 via node2. This is based on the coordinates of the nodes and doesn't take the actual polyline-layout into consideration. Straight on is 0, to the left is 90, backward is 180 and to the right is 270. See also Direction2 67 . Possible error codes: -10 -30 -43 Versions: Standard Pro ActiveX / VCL / CLX component: RWnetBase 4.38 Direction2 Function Direction2(link1, node2, link2: integer): integer; 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. If your network only consists of lines or polylines with one segment, Direction1 gives the same result. Straight on is 0, to the left is 90, backward is 180 and to the right is 270. See also Direction1 67 . Possible error codes: -10 -30 -31 -40 -43 -46 Versions: Standard Pro ActiveX / VCL / CLX component: RWnetBase 4.39 Directory Property Directory: string; Directory defines the location of all binary files used by RW Net. Default directory is the current path. ActiveX / VCL / CLX component: RWnetBase © 2013 RouteWare / Uffe Kousgaard