MobilityDB  1.0

◆ NAI_tpointseq_step_geo1()

static double NAI_tpointseq_step_geo1 ( const TSequence seq,
Datum  geo,
double  mindist,
datum_func2  func,
const TInstant **  mininst 
)
static

Returns the new current nearest approach instant between the temporal sequence point with stepwise interpolation and the geometry/geography.

Parameters
[in]seqTemporal point
[in]geoGeometry
[in]mindistCurrent minimum distance, it is set at DBL_MAX at the begining but contains the minimum distance found in the previous sequences of a temporal sequence set
[in]funcDistance function
[out]mininstInstant with the minimum distance