intersection_plane_plane

compas.geometry.intersection_plane_plane(plane1, plane2, tol=None)[source]

Computes the intersection of two planes

Parameters:
plane1[point, vector] | compas.geometry.Plane

The base point and normal (normalized) defining the 1st plane.

plane2[point, vector] | compas.geometry.Plane

The base point and normal (normalized) defining the 2nd plane.

tolfloat, optional

Tolerance for evaluating if the dot product of the plane normals is one. Default is TOL.absolute.

Returns:
tuple[[float, float, float], [float, float, float]] | None

Two points defining the intersection line. None if the planes are parallel.