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

◆ double3segm_interpolate()

double3 * double3segm_interpolate ( const double3 start,
const double3 end,
long double  ratio 
)

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