Skip to content

BoundingBox.Union (BoundingBox, BoundingBox)

Public Class

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.Geometry.BoundingBox
First box to include in union.

b

Type: Rhino.Geometry.BoundingBox
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.