MobilityDB 1.1

◆ double3_collinear()

static bool double3_collinear ( const double3 x1,
const double3 x2,
const double3 x3,
double  ratio 
)
static

Return true if the three values are collinear.

Parameters
[in]x1,x2,x3Input values
[in]ratioValue in [0,1] representing the duration of the timestamps associated to x1 and x2 divided by the duration of the timestamps associated to x1 and x3