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

◆ tgeoseq_disc_restrict_stbox()

TSequence * tgeoseq_disc_restrict_stbox ( const TSequence seq,
const STBox box,
bool  border_inc,
bool  atfunc 
)

Return a temporal point discrete sequence restricted to (the complement of) a spatiotemporal box.

Parameters
[in]seqTemporal point discrete sequence
[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, the arguments have the same SRID, and the sequence is not instantaneous.
Note
The function only restricts to the spatial dimension, the restriction to the time dimension is made in function tgeo_restrict_stbox.