intersection_polyline_plane
- compas.geometry.intersection_polyline_plane(polyline, plane, expected_number_of_intersections=None, tol=None)[source]
Calculate the intersection point of a plane with a polyline. Reduce expected_number_of_intersections to speed up.
- Parameters:
- polylinesequence[point] |
compas.geometry.Polyline
Polyline to test intersection.
- plane[point, vector]
Plane to compute intersection.
- expected_number_of_intersectionsint, optional
Number of useful or expected intersections. Default is the number of line segments of the polyline.
- tolfloat, optional
Tolerance for computing the intersection points between the individual segments of the polyline and the plane. Default is
TOL.absolute
.
- polylinesequence[point] |
- Returns:
- list[[float, float, float]]
The intersection points between the polyline segments and the plane.