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)
Since: 5.0
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.
See Also