MobilityDB 1.1

◆ tpointseq_findsplit()

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

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

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