MobilityDB 1.1

◆ tfunc_tlinearseq_base_discont()

static int tfunc_tlinearseq_base_discont ( const TSequence seq,
Datum  value,
LiftedFunctionInfo lfinfo,
TSequence **  result 
)
static

Apply the function to the temporal value and the base value when the function has instantaneuous discontinuties.

Parameters
[in]seqTemporal value
[in]valueBase value
[in]lfinfoInformation about the lifted function
[out]resultArray on which the pointers of the newly constructed sequences are stored
Note
The current version of the function supposes that the basetype is passed by value and thus it is not necessary to create and pfree each pair of instants used for constructing a segment of the result. Similarly, it is not necessary to pfree the values resulting from the function func.