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

◆ double2segm_interpolate()

double2 * double2segm_interpolate ( const double2 start,
const double2 end,
long double  ratio 
)

Return a double2 interpolated from a double2 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