is_colinear_xy

compas.geometry.is_colinear_xy(a, b, c)[source]

Determine if three points are colinear on the XY-plane.

Parameters
  • a (tuple, list, Point) – Point 1.

  • b (tuple, list, Point) – Point 2.

  • c (tuple, list, Point) – Point 3.

Returns

boolTrue if the points are colinear. False otherwise.