RhinoCommon API
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)

public static BoundingBox Union( BoundingBox a, BoundingBox b )
Public Shared Function Union ( a As BoundingBox, b As BoundingBox ) As BoundingBox
Parameters
- a
- Type: Rhino.GeometryBoundingBox
First box to include in union. - b
- Type: Rhino.GeometryBoundingBox
Second box to include in union.
Return Value
Type: BoundingBoxThe BoundingBox that contains both a and b.

Invalid boxes are ignored and will not affect the union.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8