MobilityDB 1.1

◆ tdwithin_tpointseq_tpointseq2()

static int tdwithin_tpointseq_tpointseq2 ( const TSequence seq1,
const TSequence seq2,
Datum  dist,
datum_func3  func,
TSequence **  result 
)
static

Return the timestamps at which the segments of two temporal points are within the given distance.

Parameters
[in]seq1,seq2Temporal points
[in]distDistance
[in]funcDWithin function (2D or 3D)
[out]resultArray on which the pointers of the newly constructed sequences are stored
Returns
Number of elements in the resulting array
Precondition
The temporal points must be synchronized.