MobilityDB  1.0

◆ tnumberinstset_restrict_ranges()

TInstantSet* tnumberinstset_restrict_ranges ( const TInstantSet ti,
RangeType **  normranges,
int  count,
bool  atfunc 
)

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

Parameters
[in]tiTemporal 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
Precondition
The array of ranges is normalized
Note
A bounding box test has been done in the dispatch function.