MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tnumbersegm_restrict_span()

static int tnumbersegm_restrict_span ( const TInstant inst1,
const TInstant inst2,
interpType  interp,
bool  lower_inc,
bool  upper_inc,
const Span s,
bool  atfunc,
TSequence **  result 
)
static

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

Parameters
[in]inst1,inst2Temporal instants defining the segment
[in]lower_inc,upper_incUpper and lower bounds of the segment
[in]interpInterpolation of the segment
[in]sSpan of base values
[in]atfuncTrue if the restriction is at, false for minus
[out]resultArray on which the pointers of the newly constructed sequence is stored