compas.geometry.is_point_in_polyhedron(point, polyhedron)[source]

Determine if the point lies inside the given polyhedron.

  • point ([float, float, float] | Point) – The test point.

  • polyhedron ([sequence[point], sequence[sequence[int]]] | Polyhedron.) – The polyhedron defined by a sequence of points and a sequence of faces, with each face defined as a sequence of indices into the sequence of points.


bool – True, if the point lies in the polyhedron. False, otherwise.