is_colinear_xy
- compas.geometry.is_colinear_xy(a, b, c)[source]
Determine if three points are colinear on the XY-plane.
- Parameters
a ([float, float, float] |
compas.geometry.Point
) – Point 1 defined by XY(Z) coordinates.b ([float, float, float] |
compas.geometry.Point
) – Point 2 defined by XY(Z) coordinates.c ([float, float, float] |
compas.geometry.Point
) – Point 3 defined by XY(Z) coordinates.
- Returns
bool – True if the points are colinear. False otherwise.