is_intersection_line_plane

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

Determine if a line (ray) intersects with a plane.

Parameters
  • line ([point, point] | Line) – A line.

  • plane ([point, vector] | Plane) – A plane.

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

Returns

bool – True if the line intersects with the plane. False otherwise.