is_colinear_line_line
- compas.geometry.is_colinear_line_line(line1, line2, tol=1e-06)[source]
Determine if two lines are colinear.
- Parameters
line1 ([point, point] or
compas.geometry.Line
) – Line 1.line2 ([point, point] or
compas.geometry.Line
) – Line 2.tol (float, optional) – A tolerance for colinearity verification. Default is
1e-6
.
- Returns
bool –
True
if the lines are colinear.False
otherwise.