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] |
compas.geometry.Line
) – Line 1.line2 ([point, point] |
compas.geometry.Line
) – Line 2.tol (float, optional) – A tolerance for colinearity verification.
- Returns
bool – True if the lines are colinear. False otherwise.