intersection_line_plane
- compas.geometry.intersection_line_plane(line, plane, tol=1e-06)[source]
Computes the intersection point of a line and a plane
- Parameters
line ([point, point] |
compas.geometry.Line
) – Two points defining the line.plane ([point, vector] |
compas.geometry.Plane
) – The base point and normal defining the plane.tol (float, optional) – A tolerance for membership verification.
- Returns
[float, float, float] | None – The intersection point between the line and the plane, or None if the line and the plane are parallel.