RouteFindDyn |
Top Previous Next |
This method will return a TRoute list to a location, if an isochrone has already been calculated from another location.
2 examples with almost the same functionality:
TCalc.IsoCostDyn(location1) cost = TCalc.RouteFindDyn(location2,route)
cost = TRouteCalc.RouteDynEx(location1,location2,route)
IsoCostDyn method is faster if you have many calculations to do for the same location1. But class TRouteCalc offers more fine-tuning options.
It returns a high number (1e38) if no route is found.
Syntax: RouteFindDyn(Loc: TLocation; var route: TRoute): TCost
|