Click or drag to resize
MeshIsPointInside Method
Rhino 5 for Windows
Determines if a point is inside a solid mesh.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public bool IsPointInside(
	Point3d point,
	double tolerance,
	bool strictlyIn


Type: Rhino.GeometryPoint3d
3d point to test.
Type: SystemDouble
(>=0) 3d distance tolerance used for ray-mesh intersection and determining strict inclusion.
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.

Return Value

Type: Boolean
true if point is inside the solid mesh, false if not.
The caller is responsible for making certing the mesh is solid before calling this function. If the mesh is not solid, the behavior is unpredictable.
See Also