MobilityDB  1.0

◆ tnumberseq_restrict_range2()

int tnumberseq_restrict_range2 ( TSequence **  result,
const TSequence seq,
const RangeType *  range,
bool  atfunc 
)

Restricts the temporal number to the (complement of the) range of base values.

Parameters
[out]resultArray on which the pointers of the newly constructed sequences are stored
[in]seqtemporal number
[in]rangeRange of base values
[in]atfuncTrue when the restriction is at, false for minus
Returns
Number of resulting sequences returned
Note
This function is called for each sequence of a temporal sequence set