This method calculates the distance from P to link.
Syntax: DistanceToLinkSimple(P: TFloatPoint; link: integer): double
See also DistanceToLink and NearestLocationSimple.