DistanceToLink |
Top Previous Next |
This method calculates the distance from P to link.
It returns this information:
•Percentage along the link (0 .. 1) •Side of the link (-1: Left or 1: Right) •Distance •Coordinates of location on link
Syntax: DistanceToLink(P: TFloatPoint; link: integer; out percent: double; out side: integer; out distance: double; out Pnew: TFloatPoint)
See also DistanceToLinkSimple and NearestLocation.
|