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

# BoundingBox2D

## Overview

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

BoundingBox2D.BoundingBox2D initializes a new 2‑D bounding box with the specified minimum and maximum vectors.

This struct provides 4 methods for working with BoundingBox2D objects in .NET programs.
Available methods include: `BoundingBox2D`, `Merge`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: `Extent`, `Infinite`, `Maximum`, `Minimum`, `Null`.

## 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 | The null bounding box |
| `Infinite` | `BoundingBox2D` | Read | The infinite bounding box |

## Methods

| Signature | Description |
|-----------|-------------|
| `BoundingBox2D(minimum: Vector2, maximum: Vector2)` | Initialize a finite bounding box with given minimum and maximum corner |
| `Merge(pt: Vector2)` | Expands the box to include the given 2‑D point if it lies outside current limits |
| `Merge(bb: BoundingBox2D)` | Calls Merge(bb) on this BoundingBox2D instance. |
| `ToString()` | Returns a textual representation of the box’s minimum and maximum vectors |

## See Also
- [Aspose.3D for .NET — Enterprise API Reference](https://reference.aspose.com/3d/net/aspose.threed.utilities/boundingbox2d/)