Click or drag to resize

BoxContains Method (BoundingBox, Boolean)

Test a boundingbox for Box inclusion.

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


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

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.17
See Also