MobilityDB 1.1

◆ tpointseq_restrict_geometry()

TSequenceSet * tpointseq_restrict_geometry ( const TSequence seq,
const GSERIALIZED gs,
bool  atfunc 
)

Restrict a temporal point sequence to (the complement of a) geometry.

Parameters
[in]seqTemporal sequence point
[in]gsGeometry
[in]atfuncTrue if the restriction is at, false for minus
Precondition
The arguments are of the same dimensionality, have the same SRID, and the geometry is not empty. This is verified in tpoint_restrict_geometry
Note
The test for instantaneous sequences is done at the function tpointseq_at_geometry since the latter function is called for each sequence of a sequence set
SQL Function:
atGeometry(), minusGeometry()