M_Rhino_Geometry_BoundingBox_Union_2 - mcneel/rhinocommon-api-docs GitHub Wiki

BoundingBox.Union Method (BoundingBox, Point3d)

Returns a new BoundingBox that represents the union of a bounding box and a point.

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

Syntax

C#

public static BoundingBox Union(
	BoundingBox box,
	Point3d point
)

VB

Public Shared Function Union ( 
	box As BoundingBox,
	point As Point3d
) As BoundingBox

Parameters

 

box
Type: Rhino.Geometry.BoundingBox
Box to include in the union.
point
Type: Rhino.Geometry.Point3d
Point to include in the union.

Return Value

Type: BoundingBox
The BoundingBox that contains both the box and the point.

Remarks

Invalid boxes and points are ignored and will not affect the union.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BoundingBox Structure
Union Overload
Rhino.Geometry Namespace

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