intersection_plane_plane

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

Computes the intersection of two planes

Parameters
  • plane1 (tuple) – The base point and normal (normalized) defining the 1st plane.

  • plane2 (tuple) – The base point and normal (normalized) defining the 2nd plane.

  • tol (float, optional) – A tolerance for membership verification. Default is 1e-6.

Returns

line (tuple) – Two points defining the intersection line. None if planes are parallel.