Click or drag to resize

BoundingBoxContains Method (BoundingBox, Boolean)

Determines whether this boundingbox contains another boundingbox.

The user can choose how to treat boundingboxes with coincidents surfaces.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Contains(
	BoundingBox box,
	bool strict
)

Parameters

box
Type: Rhino.GeometryBoundingBox
Box to test.
strict
Type: SystemBoolean
If true, the box needs to be fully on the inside of the boundingbox. I.e. coincident boxes will be considered 'outside'.

Return Value

Type: Boolean
true if the box is (strictly) on the inside of this BoundingBox.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also