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

◆ nai_tgeoseq_discstep_geo_iter()

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

Return the new current nearest approach instant between a temporal point sequence with step interpolation and a geometry/geography (iterator function)

Parameters
[in]seqTemporal geo
[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