TurnRestrictionComplex
Previous  Top  Next

Function TurnRestrictionComplex(link1,link2,link3,link4,link5,link6: integer; cost: single): integer;

Defines a restriction on turns from a sequence of links. Up to 6 links can be defined. If you have <6 links, just set the remaining values to 0. If you have more than 6 links, it is required to use the TurnImport2_TXT for loading the restrictions.

Currently there is no actual support for complex restrictions in the calculations, but it will be added later and they can already now be imported and exported through the functions for this.

cost<0: Turn prohibited
cost=0: Remove turn restriction
cost>0: Additional cost related to the turn (=delay).

Possible error codes: -10 -18 -30 -43
Versions: Standard Pro
ActiveX / VCL / CLX component: RWnetBase