BoundingBox2D
Oversigt over de forskellige former for støtte
BoundingBox2D er en struktur i Aspose.3D FOSS for .NET.
BoundingBox2D giver 2D-grænsefeltet funktionalitet, herunder sammenlægningspunkter eller andre felter og konvertering til en strengepræsentation.
Egenskaber
| 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 |
Metoder til at anvende
| 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 |