MobilityDB 1.1

◆ geopoint_collinear()

bool geopoint_collinear ( Datum  value1,
Datum  value2,
Datum  value3,
double  ratio,
bool  hasz,
bool  geodetic 
)

Return true if the three values are collinear.

Parameters
[in]value1,value2,value3Input values
[in]ratioValue in [0,1] representing the duration of the timestamps associated to value1 and value2 divided by the duration of the timestamps associated to value1 and value3
[in]haszTrue if the points have Z coordinates
[in]geodeticTrue for geography, false for geometry