MobilityDB 1.1

◆ tcontseq_restrict_value1()

int tcontseq_restrict_value1 ( const TSequence seq,
Datum  value,
bool  atfunc,
TSequence **  result 
)

Restrict a temporal sequence to (the complement of) a base value.

Parameters
[in]seqTemporal sequence
[in]valueBase value
[in]atfuncTrue if the restriction is at, false for minus
[out]resultArray on which the pointers of the newly constructed sequences are stored
Returns
Number of resulting sequences returned
Note
This function is called for each sequence of a temporal sequence set. For this reason the bounding box and the instantaneous sequence sets are repeated here.