MobilityDB 1.1

◆ tnumberinst_restrict_span_test()

bool tnumberinst_restrict_span_test ( const TInstant inst,
const Span span,
bool  atfunc 
)

Return true if a temporal number instant satisfies the restriction to (the complement of) a span of base values.

Parameters
[in]instTemporal number
[in]spanSpan of base values
[in]atfuncTrue if the restriction is at, false for minus
Returns
Resulting temporal number
Note
This function is called for each composing instant in a temporal discrete sequence.