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 3 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 | Gets the null. |
Infinite | BoundingBox2D | Read | Gets the infinite. |
Methods
| Signature | Description |
|---|---|
BoundingBox2D(minimum: Vector2, maximum: Vector2) | Initializes a new 2‑D bounding box with the specified minimum and maximum vectors |
Merge(pt: Vector2) | Expands the box to include the given 2‑D point if it lies outside current limits |
Merge(bb: BoundingBox2D) | |
ToString() | Returns a textual representation of the box’s minimum and maximum vectors |