Click or drag to resize

BoundingBoxContains Method (Point3d, Boolean)

Tests a point for BoundingBox inclusion.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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 bounding box; 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 bounding box; otherwise false.

See Also