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

# BoundingBox2D

## Overview

`BoundingBox2D` is a class in Aspose.3D FOSS for Java.
Inherits from: `Serializable`.

This class provides 8 methods for working with BoundingBox2D objects in Java programs.
Available methods include: `BoundingBox2D`, `getExtent`, `getMaximum`, `getMinimum`, `merge`, `toString`.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `INFINITE`, `NULL`, `extent`, `maximum`, `minimum`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `extent` | `BoundingBoxExtent` | Read | Gets the extent. |
| `minimum` | `Vector2` | Read | Gets the minimum. |
| `maximum` | `Vector2` | Read | Gets the maximum. |
| `NULL` | `BoundingBox2D` | Read | Gets the null. |
| `INFINITE` | `BoundingBox2D` | Read | Gets the infinite. |

## Methods

| Signature | Description |
|-----------|-------------|
| `BoundingBox2D()` | Calls BoundingBox2D on this BoundingBox2D instance. |
| `BoundingBox2D(minimum: Vector2, maximum: Vector2)` | Calls BoundingBox2D(minimum, maximum) on this BoundingBox2D instance. |
| `getExtent()` → `BoundingBoxExtent` | Returns the extent. |
| `getMinimum()` → `Vector2` | Returns the minimum. |
| `getMaximum()` → `Vector2` | Returns the maximum. |
| `merge(pt: Vector2)` | Calls merge(pt) on this BoundingBox2D instance. |
| `merge(bb: BoundingBox2D)` | Calls merge(bb) on this BoundingBox2D instance. |
| `toString()` → `String` | Calls toString on this BoundingBox2D instance. |

## See Also

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