intersection_plane_plane_plane

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

Computes the intersection of three planes

Parameters:
plane1[point, vector]

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

plane2[point, vector]

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

plane3[point, vector]

The base point and normal (normalized) defining the 3rd plane.

tolfloat, optional

Tolerance for computing the intersection line between the first two planes, and between the intersection line and the third plane. Default is TOL.absolute.

Returns:
[float, float, float] | None

The intersection point or None if at least one pair of planes is parallel.

Notes

Currently this only computes the intersection point. For example, if two planes are parallel the intersection lines are not computed [1].

References