Click or drag to resize
BrepIsPointInside Method
Rhino 5 for Windows
Determines if point is inside Brep. This question only makes sense when the brep is a closed manifold. This function does not not check for closed or manifold, so result is not valid in those cases. Intersects a line through point with brep, finds the intersection point Q closest to point, and looks at face normal at Q. If the point Q is on an edge or the intersection is not transverse at Q, then another line is used.

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
3d distance tolerance used for intersection and determining strict inclusion. A good default is RhinoMath.SqrtEpsilon.
Type: SystemBoolean
if true, point is in if inside brep by at least tolerance. if false, point is in if truly in or within tolerance of boundary.

Return Value

Type: Boolean
true if point is in, false if not.
See Also