Click or drag to resize

BoxContains Method (Box, Boolean)

Test a box for Box inclusion.

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


Type: Rhino.GeometryBox
Box to test.
Type: SystemBoolean
If true, the box 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.27
See Also