MobilityDB  1.0

◆ tsequence_restrict_value2()

int tsequence_restrict_value2 ( TSequence **  result,
const TSequence seq,
Datum  value,
bool  atfunc 
)

Restricts the temporal value to the base value.

Parameters
[out]resultArray on which the pointers of the newly constructed sequences are stored
[in]seqTemporal value
[in]valueBase value
[in]atfuncTrue when the restriction is at, false for minus
Returns
Number of resulting sequences returned
Note
This function is called for each sequence of a temporal sequence set. For this reason the bounding box and the instantaneous sequence sets are repeated here.