intersection_plane_plane_plane

compas.geometry.intersection_plane_plane_plane(plane1, plane2, plane3, tol=1e-06)[source]

Computes the intersection of three planes

Parameters
  • plane1 ([point, vector] | Plane) – The base point and normal (normalized) defining the 1st plane.

  • plane2 ([point, vector] | Plane) – The base point and normal (normalized) defining the 2nd plane.

  • plane3 ([point, vector] | Plane) – The base point and normal (normalized) defining the 3rd plane.

  • tol (float, optional) – A tolerance for membership verification.

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

1

http://geomalgorithms.com/Pic_3-planes.gif