MobilityDB 1.1

◆ tnumbercontseq_restrict_span2()

int tnumbercontseq_restrict_span2 ( const TSequence seq,
const Span span,
bool  atfunc,
TSequence **  result 
)

Restrict a temporal number to (the complement of) a span.

Parameters
[in]seqtemporal number
[in]spanSpan of base values
[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