is_colinear
- compas.geometry.is_colinear(a, b, c, tol=1e-06)[source]
Determine if three points are colinear.
- Parameters
a ([float, float, float] |
compas.geometry.Point
) – Point 1.b ([float, float, float] |
compas.geometry.Point
) – Point 2.c ([float, float, float] |
compas.geometry.Point
) – Point 3.tol (float, optional) – A tolerance for membership verification.
- Returns
bool – True if the points are colinear. False otherwise.