bool   sgSpaceMath::IsPointsOnOneLine(const SG_POINT& p1,const SG_POINT& p2, const SG_POINT& p3)

 

Description:

Checks whether the point in the three-dimensional space lie on the same line.

 

Arguments:

p1 - first point,

p2 - second point,

p3 - third point

 

Returned value:

Returns true if the points lie on the same line and false otherwise.

 

See also:

SG_POINT