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

◆ double4segm_interpolate()

double4 * double4segm_interpolate ( const double4 start,
const double4 end,
long double  ratio 
)

Return a double4 interpolated from a double4 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
Note
Function used for determining the value of a segment at a timestamp