NearestOpenDyn |
Top Previous Next |
This method will find the nearest open link and node, from a starting location. An open node is one where at least one of the connected links is open for driving.
Obstacles it ignores while doing so: 1) Oneway restrictions 2) Limits 3) Links being skipped 4) NoDriveThrough setting
Syntax: NearestOpenDyn(Loc: TLocation; var NearestNode, NearestLink: integer; var cost: TCost)
|