Plane.intersection_with_plane
- Plane.intersection_with_plane(plane)[source]
Compute the intersection of two planes.
- Parameters:
- plane
compas.geometry.Plane
The other plane.
- plane
- Returns:
compas.geometry.Line
| NoneThe intersection line, or None if the planes are parallel or coincident.
Examples
>>> plane1 = Plane.worldXY() >>> plane2 = Plane([1.0, 1.0, 1.0], [0.0, 0.0, 1.0]) >>> plane1.intersection(plane2) Line(Point(0.000, 0.000, 0.000), Vector(0.000, 0.000, 1.000))