compas.geometry.intersection_segment_plane(segment, plane, tol=1e-06)[source]

Computes the intersection point of a line segment and a plane

  • segment ([point, point] | Line) – Two points defining the line segment.

  • plane ([point, vector] | Plane) – The base point and normal defining the plane.

  • tol (float, optional) – A tolerance for membership verification.


[float, float, float] | None – The intersection point between the line and the plane, or None if the line and the plane are parallel.