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

◆ tgeoinst_restrict_stbox_iter()

static TInstant * tgeoinst_restrict_stbox_iter ( const TInstant inst,
const STBox box,
bool border_inc  UNUSED,
bool  atfunc 
)
static

Return a temporal geo instant restricted to (the complement of) a spatiotemporal box (iterator function)

Parameters
[in]instTemporal geo instant
[in]boxSpatiotemporal box
[in]border_incTrue when the box contains the upper border
[in]atfuncTrue if the restriction is at, false for minus
Precondition
The box has only X dimension and the arguments have the same SRID.
Note
This function restricts only to the spatial dimension, the restriction to the time dimension is made in function tgeo_restrict_stbox