M_Rhino_Geometry_BoundingBox_Contains_3 - mcneel/rhinocommon-api-docs GitHub Wiki

BoundingBox.Contains Method (Point3d, Boolean)

Tests a point for BoundingBox inclusion.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool Contains(
	Point3d point,
	bool strict
)

VB

Public Function Contains ( 
	point As Point3d,
	strict As Boolean
) As Boolean

Parameters

 

point
Type: Rhino.Geometry.Point3d
Point to test.
strict
Type: System.Boolean
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BoundingBox Structure
Contains Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️