MobilityDB  1.0

◆ npoint_collinear()

static bool npoint_collinear ( npoint np1,
npoint np2,
npoint np3,
double  ratio 
)
static

Returns true if the three values are collinear.

Parameters
[in]np1,np2,np3Input values
[in]ratioValue in [0,1] representing the duration of the timestamps associated to np1 and np2 divided by the duration of the timestamps associated to np1 and np3