is_point_in_polyhedron
- compas.geometry.is_point_in_polyhedron(point, polyhedron, tol=None)[source]
Determine if the point lies inside the given polyhedron.
- Parameters:
- point[float, float, float] |
compas.geometry.Point
The test point.
- polyhedron[sequence[point], sequence[sequence[int]]] |
compas.geometry.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.
- point[float, float, float] |
- Returns:
- bool
True, if the point lies in the polyhedron. False, otherwise.