BoundingBox2D
General
BoundingBox2D is a struct in Aspose.3D FOSS for .NET.
BoundingBox2D és una estructura en Aspose.3D FOSS per a .NET.
BoundingBox2D proporciona funcionalitat de caixa de limitació 2D, incloent punts de fusió o altres cases i convertint en una representació de cadena.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
Extent | BoundingBoxExtent | Read | Gets the width and height of the bounding box as a BoundingBoxExtent |
Minimum | Vector2 | Read | Gets the minimum (lower‑left) corner vector of the box |
Maximum | Vector2 | Read | Gets the maximum (upper‑right) corner vector of the box |
Mètodes
| Signature | Description |
|---|---|
BoundingBox2D(minimum: Vector2, maximum: Vector2) | Constructs a 2D bounding box with given minimum and maximum vectors |
BoundingBox2D() | |
Merge(pt: Vector2) | Merges a Vector2 point into the box, expanding its limits if necessary |
Merge(bb: BoundingBox2D) | |
ToString() | Returns a textual representation of the bounding box coordinates |