MobilityDB  1.0

◆ sync_tfunc_tsequence_tsequence_linearstep()

static int sync_tfunc_tsequence_tsequence_linearstep ( TSequence **  result,
const TSequence seq1,
const TSequence seq2,
LiftedFunctionInfo lfinfo,
Period inter 
)
static

Synchronizes the temporal values and applies to them the function.

This function is applied when one sequence has linear interpolation and the other step interpolation and the function does not have instantaneous discontinuities. The result is an array of sequences.

Parameters
[out]resultArray on which the pointers of the newly constructed sequences are stored
[in]seq1,seq2Temporal values
[in]lfinfoInformation about the lifted function
[in]interOverlapping period of the two sequences