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]) >>> line = plane1.intersection_with_plane(plane2)