GetLinkCost
Previous  Top  Next

Function GetLinkCost(Link: integer): single;

Same as GetNodeCost, just for links instead.

TurnMode=false:
Returns the maximum cost of the two end nodes of the link.

TurnMode=true:
Link>0: Returns the cost of going to the ToNode
Link<0: Returns the cost of going to the FromNode

Possible error codes: -10 -30
ActiveX / VCL / CLX component: RWcalc