Point.in_polyhedron
- Point.in_polyhedron(polyhedron)[source]
Determine if the point lies inside the given polyhedron.
This method verifies that the point lies behind the planes of all the faces of the polyhedron. Therefore, if the polyhedron is not convex, or if the faces are not planar, the result of this test is meaningless. Convexity and planarity are not checked.
- Parameters:
- polyhedron[vertices, faces] |
compas.geometry.Polyhedron
The polyhedron.
- polyhedron[vertices, faces] |
- Returns:
- bool
True, if the point lies on the polyline. False, otherwise.