MobilityDB  1.0

◆ sync_tfunc_tsequence_tsequence_discont()

static int sync_tfunc_tsequence_tsequence_discont ( 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 for functions with instantaneous discontinuities and thus the result is an array of sequences. This function is applied when at least one temporal value has linear interpolation.

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