Click or drag to resize

BoundingBoxUnion Method (BoundingBox, BoundingBox)

Returns a new BoundingBox that represents the union of boxes a and b.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static BoundingBox Union(
	BoundingBox a,
	BoundingBox b
)

Parameters

a
Type: Rhino.GeometryBoundingBox
First box to include in union.
b
Type: Rhino.GeometryBoundingBox
Second box to include in union.

Return Value

Type: BoundingBox
The BoundingBox that contains both a and b.
Remarks
Invalid boxes are ignored and will not affect the union.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also