GetLinkCost

Top  Previous  Next

Function GetLinkCost(Link: integer): single;

 

Same as GetNodeCost, just for links instead.

 

Turnmode disabled:

Returns the maximum cost of the two end nodes of the link.

 

Turnmode enabled:

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