is_point_on_plane

compas.geometry.is_point_on_plane(point, plane, tol=None)[source]

Determine if a point lies on a plane.

Parameters:
point[float, float, float] | compas.geometry.Point

A point.

plane[point, vector] | compas.geometry.Plane

A plane.

tolfloat, optional

Tolerance for comparing the distance between the point and the plane to zero. Default is TOL.absolute.

Returns:
bool

True if the point is in on the plane. False otherwise.