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

◆ npoint_collinear()

bool npoint_collinear ( const Npoint np1,
const Npoint np2,
const Npoint np3,
double  ratio 
)

Return 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