Click or drag to resize

BoxContains Method (Point3d, Boolean)

Determines whether a point is (strictly, if strict is true) inside this Box. Invalid boxes contain nothing. Invalid points are never contained.

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 strictly inside this Box. I.e. points on the boundary of this Box will be considered 'outside'.

Return Value

Type: Boolean
true if the point is (strictly, if strict is true) inside this Box. false if this Box or the Point are invalid.
See Also