intersection_line_plane

compas.geometry.intersection_line_plane(line, plane, tol=1e-06)[source]

Computes the intersection point of a line and a plane

Parameters
  • line (tuple) – Two points defining the line.

  • plane (tuple) – The base point and normal defining the plane.

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

Returns

point or None