MobilityDB 1.1

◆ NAI_tpointseq_discstep_geo1()

static double NAI_tpointseq_discstep_geo1 ( const TSequence seq,
const LWGEOM geo,
double  mindist,
const TInstant **  result 
)
static

Return the new current nearest approach instant between the temporal sequence point with step interpolation and a geometry/geography.

Parameters
[in]seqTemporal point
[in]geoGeometry/geography
[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
[out]resultInstant with the minimum distance
Returns
Minimum distance