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

◆ tcontseq_restrict_value_iter()

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

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

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.