MobilityDB 1.3
Loading...
Searching...
No Matches

◆ tpointseq_findsplit()

static void tpointseq_findsplit ( const TSequence seq,
int  i1,
int  i2,
bool  syncdist,
int *  split,
double *  dist 
)
static

Find a split when simplifying the temporal point sequence using the Douglas-Peucker line simplification algorithm.

Parameters
[in]seqTemporal sequence
[in]i1,i2Indexes of the reference instants
[in]syncdistTrue when using the Synchronized Euclidean Distance
[out]splitLocation of the split
[out]distDistance at the split