FindNodeFast
Previous  Top  Next

Function FindNodeFast(XLong,YLat: double; var node: integer; var dist: single): integer;

Obsolete function. Use Coordinate2Node instead.

Same as FindNode, except it uses the index created by NodeIndexCreate and is a lot faster.

When dealing with latitude/longitude coordinates either along the dateline or close to the poles, use FindNode instead. (Very unlikely to have a network there)

If the node index hasn't been created, the function will do so.

Possible error codes: -10 -34 -40 -41
ActiveX / VCL / CLX component: RWnetBase