Click or drag to resize

BoundingBoxContains Method (Point3d, Boolean)

Tests a point for BoundingBox inclusion.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool Contains(
	Point3d point,
	bool strict


Type: Rhino.GeometryPoint3d
Point to test.
Type: SystemBoolean
If true, the point needs to be fully on the inside of the BoundingBox. I.e. coincident points will be considered 'outside'.

Return Value

Type: Boolean

If 'strict' is affirmative, true if the point is inside this boundingbox; false if it is on the surface or outside.

If 'strict' is negative, true if the point is on the surface or on the inside of the boundingbox; otherwise false.

Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also