MobilityDB  1.0

◆ NAI_tpointseq_linear_geo2()

static double NAI_tpointseq_linear_geo2 ( const TSequence seq,
Datum  geo,
double  mindist,
datum_func2  func,
Datum *  closest,
TimestampTz *  t,
bool *  tofree 
)
static

Returns the nearest approach instant between the temporal sequence point with linear interpolation and the geometry.

Parameters
[in]seqTemporal point
[in]geoGeometry
[in]mindistMinimum distance found so far, or DBL_MAX at the beginning
[in]funcDistance function
[out]closestClosest point
[out]tTimestamp
[out]tofreeTrue when the resulting instant should be freed