RhinoCommon API
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 )
Public Function Contains ( point As Point3d, strict As Boolean ) As Boolean
Parameters
- point
- Type: Rhino.GeometryPoint3d
Point to test. - strict
- 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: BooleanIf '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.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14