Click or drag to resize

BoundingBoxContains Method (Point3d, Boolean)

Tests a point for BoundingBox inclusion.

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

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: Boolean

If '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.

Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.0
See Also