MobilityDB 1.1

◆ geosegm_interpolate_point()

Datum geosegm_interpolate_point ( Datum  start,
Datum  end,
long double  ratio 
)

Return a point interpolated from the geometry/geography segment with respect to the fraction of its total length.

Parameters
[in]start,endPoints defining the segment
[in]ratioFloat between 0 and 1 representing the fraction of the total length of the segment where the point must be located