---
Product: Aspose.3D
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/net/BoundingBox
---

# BoundingBox

## Overview

`BoundingBox` is a struct in Aspose.3D FOSS for .NET.

The axis-aligned bounding box

This struct provides 9 methods for working with BoundingBox objects in .NET programs.
Available methods include: `BoundingBox`, `Contains`, `Equals`, `FromGeometry`, `GetHashCode`, `Merge`, `OverlapsWith`, `Scale`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: `Center`, `Extent`, `Infinite`, `Maximum`, `Minimum`, `Null`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Extent` | `BoundingBoxExtent` | Read | Gets the extent. |
| `Minimum` | `Vector3` | Read | Gets the minimum. |
| `Maximum` | `Vector3` | Read | Gets the maximum. |
| `Size` | `Vector3` | Read | Gets the size. |
| `Center` | `Vector3` | Read | Gets the center. |
| `Null` | `BoundingBox` | Read | Gets the null. |
| `Infinite` | `BoundingBox` | Read | Gets the infinite. |

## Methods

| Signature | Description |
|-----------|-------------|
| `BoundingBox(minimum: Vector3, maximum: Vector3)` | Initializes the box with the given minimum and maximum vectors |
| `BoundingBox(minimum: FVector3, maximum: FVector3)` |  |
| `BoundingBox(minX: double, minY: double, minZ: double, maxX: double, maxY: double, maxZ: double)` |  |
| `Scale()` | Calculates the absolute largest coordinate value of any contained point. |
| `FromGeometry(geometry: Geometry)` | Construct a bounding box from given geometry |
| `Merge(pt: Vector4)` | Merge current bounding box with given point |
| `Merge(pt: Vector3)` | Merge current bounding box with given point |
| `Merge(pt: FVector3)` | Merge current bounding box with given point |
| `Merge(x: double, y: double, z: double)` | Merge current bounding box with given point |
| `Merge(bb: BoundingBox)` | Merge current bounding box with given point |
| `ToString()` | Gets the string representation of the bounding box. |
| `GetHashCode()` | Returns the hash code for this instance |
| `Equals(obj: object)` | Determines if two objects are equal |
| `OverlapsWith(box: BoundingBox)` | Check if current bounding box overlaps with specified bounding box. |
| `Contains(p: Vector3)` | Check if the point p is inside the bounding box |
| `Contains(bbox: BoundingBox)` | Check if the point p is inside the bounding box |
| `Equals(other: BoundingBox)` | Determines if two objects are equal |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)