Determines if a point is inside a solid mesh.
RhinoCommon (in RhinoCommon.dll)
public bool IsPointInside(
Public Function IsPointInside (
point As Point3d,
tolerance As Double,
strictlyIn As Boolean
) As Boolean
- Type: Rhino.GeometryPoint3d
3d point to test.
- Type: SystemDouble
(>=0) 3d distance tolerance used for ray-mesh intersection
and determining strict inclusion. This is expected to be a tiny value.
- Type: SystemBoolean
If strictlyIn is true, then point must be inside mesh by at least
tolerance in order for this function to return true.
If strictlyIn is false, then this function will return true if
point is inside or the distance from point to a mesh face is <= tolerance.
true if point is inside the solid mesh, false if not.
The caller is responsible for making certain the mesh is valid, closed, and 2-manifold before
calling this function. If the mesh is not, the behavior is undetermined.