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

◆ tgeoinst_restrict_stbox()

TInstant * tgeoinst_restrict_stbox ( const TInstant inst,
const STBox box,
bool  border_inc,
bool  atfunc 
)

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

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 @csqlfn Tgeo_at_stbox(), Tgeo_minus_stbox()