Return a float between 0 and 1 representing the location of the closest point on the geography segment to the given point, as a fraction of total segment length.
Parameters
[in]
p
Reference point
[in]
A,B
Points defining the segment
[out]
closest
Closest point in the segment
[out]
dist
Distance between the closest point and the reference point