MobilityDB 1.3
Loading...
Searching...
No Matches

◆ pointsegm_locate_point()

long double pointsegm_locate_point ( Datum  start,
Datum  end,
Datum  point,
double *  dist 
)

Return a float between 0 and 1 representing the location of the closest point on the geometry segment to the given point, as a fraction of total segment length.

Parameters
[in]start,endPoints defining the segment
[in]pointReference point
[out]distDistance
Note
This is the previous version of the function that is kept here while recovering the CI tests. This function should be merged with the function pointsegm_locate below