BoxContains Method (BoundingBox, Boolean) |
Test a boundingbox for Box inclusion.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool Contains(
BoundingBox box,
bool strict
)
Public Function Contains (
box As BoundingBox,
strict As Boolean
) As Boolean
Parameters
- box
- Type: Rhino.GeometryBoundingBox
Box to test. - strict
- 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:
Booleantrue if the box is (strictly) on the inside of this Box.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also