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
)
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.
Remarks Invalid boxes are ignored and will not affect the union.
See Also