RhinoCommon API
BoundingBoxUnion Method (BoundingBox, Point3d) |
Returns a new BoundingBox that represents the union of a bounding box and a point.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static BoundingBox Union( BoundingBox box, Point3d point )
Public Shared Function Union ( box As BoundingBox, point As Point3d ) As BoundingBox
Parameters
- box
- Type: Rhino.GeometryBoundingBox
Box to include in the union. - point
- Type: Rhino.GeometryPoint3d
Point to include in the union.
Return Value
Type: BoundingBoxThe BoundingBox that contains both the box and the point.

Invalid boxes and points are ignored and will not affect the union.

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