RouteDyn_Approach

Top  Previous  Next

Function RouteDyn_Approach(link1,link2: integer; percent1,percent2: double; approach1,approach2: integer; var fromto1,fromto2,routelength: integer; var extra: single): single;

 

Same function as RouteDyn, except it offers 2 additional parameters:

 

It is possible to define how to leave the first link and approach the last link on the route.

 

This can be used to make sure school-kids are picked up at the correct side of a street or dropped off in front of a school without having to cross the street.

 

If approach1=512 the route will start in the same direction as digitization, if 1024 the reverse. Use 0 if direction doesn't matter.

 

If approach2=512 the route will end in the same direction as digitization, if 1024 the reverse. Use 0 if direction doesn't matter.

 

Possible error codes: -10 -30 -33 -43

Versions: Standard Pro

ActiveX / VCL / CLX component: RWcalc