compas.geometry.intersection_polyline_plane(polyline, plane, expected_number_of_intersections=None, tol=1e-06)[source]

Calculate the intersection point of a plane with a polyline. Reduce expected_number_of_intersections to speed up.

  • polyline (sequence[point] | Polyline) – Polyline to test intersection.

  • plane ([point, vector] | Plane) – Plane to compute intersection.

  • expected_number_of_intersections (int, optional) – Number of useful or expected intersections. Default is the number of line segments of the polyline.

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


list[[float, float, float]] – The intersection points between the polyline segments and the plane.