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

◆ floatsegm_interpolate()

double floatsegm_interpolate ( double  start,
double  end,
long double  ratio 
)

Return a float interpolated from a float segment with respect to a fraction of its total length.

Parameters
[in]start,endValues defining the segment
[in]ratioValue between 0 and 1 representing the fraction of the total length of the segment where the value must be located