LinkCostDynApproach

Top  Previous  Next

Returns the cost of getting to a specific location of a link and with a specific approach.

This method can be used after a call to IsoCostDynApproach method.

 

2 examples with the same functionality:

 

TCalc.IsoCostDynApproach(location1,approach1)

cost = TCalc.LinkCostDynApproach(location2,approach2)

 

cost = TRouteCalc.RouteDynApproach(location1,location2,approach1,approach2)

 

If location1.link = location2.link you will have to use the TRouteCalc method.

 

Syntax: LinkCostDynApproach(loc: TLocation; approach: TApproach): TCost