Plane.intersections_with_curve
- Plane.intersections_with_curve(curve, tol=None)[source]
Compute the intersection of a plane and a curve.
- Parameters:
- curve
compas.geometry.Curve
The curve.
- tolfloat, optional
Tolerance for the dot product of the line vector and the plane normal. Default is
TOL.absolute
.
- curve
- Returns:
- list of
compas.geometry.Point
The intersection points.
- list of
Examples
>>> plane = Plane.worldXY() >>> line = Line(Point(0, 0, 1), Vector(1, 1, 1)) >>> plane.intersection_with_curve(line) [Point(0.000, 0.000, 0.000)]