is_intersection_segment_plane
- compas.geometry.is_intersection_segment_plane(segment, plane, tol=1e-06)[source]
Determine if a line segment intersects with a plane.
- Parameters
segment ([point, point] |
compas.geometry.Line
) – A line segment.plane ([point, vector] |
compas.geometry.Plane
) – A plane.tol (float, optional) – A tolerance for intersection verification.
- Returns
bool – True if the segment intersects with the plane. False otherwise.