intersection_plane_plane

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

Computes the intersection of two 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.

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

Returns

tuple[[float, float, float], [float, float, float]] | None – Two points defining the intersection line. None if the planes are parallel.