MobilityDB  1.0

◆ tpointseq_make_trajectory()

Datum tpointseq_make_trajectory ( const TInstant **  instants,
int  count,
bool  linear 
)

Compute the trajectory of an array of instants.

Note
This function is called by the constructor of a temporal sequence and returns a single Datum which is a geometry/geography. Since the composing points have been already validated in the constructor there is no verification of the input in this function, in particular for geographies it is supposed that the composing points are geodetic
Parameters
[in]instantsArray of temporal instants
[in]countNumber of elements in the input array
[in]linearTrue when the interpolation is linear