MobilityDB  1.0

◆ tnumberseqset_restrict_ranges()

TSequenceSet* tnumberseqset_restrict_ranges ( const TSequenceSet ts,
RangeType **  normranges,
int  count,
bool  atfunc 
)

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

Parameters
[in]tsTemporal number
[in]normrangesArray of ranges of base values
[in]countNumber of elements in the input array
[in]atfuncTrue when the restriction is at, false for minus
Returns
Resulting temporal number value
Precondition
The array of ranges is normalized
Note
A bounding box test has been done in the dispatch function.