is_intersection_line_line
-
compas.geometry.is_intersection_line_line(l1, l2, tol=1e-06)[source] Verifies if two lines intersect.
- Parameters
l1 ([point, point] or
compas.geometry.Line) – A line.l2 ([point, point] or
compas.geometry.Line) – A line.tol (float, optional) – A tolerance for intersection verification. Default is
1e-6.
- Returns
bool –
True``if the lines intersect in one point. ``Falseif the lines are skew, parallel or lie on top of each other.