BoundingBox2D class
BoundingBox2D class
The axis-aligned bounding box for Vector2
The BoundingBox2D type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, minimum, maximum) | Initialize a finite bounding box with given minimum and maximum corner |
__init__(self) | Constructs a new instance of BoundingBox2D |
Properties
| Property | Description |
|---|---|
| extent | Gets the extent of the bounding box. |
| minimum | The minimum corner of the bounding box |
| maximum | The maximum corner of the bounding box |
| NULL | The null bounding box |
| INFINITE | The infinite bounding box |
Methods
| Method | Description |
|---|---|
merge(self, pt) | Merges the new box into the current bounding box. |
merge(self, bb) | Merges the new box into the current bounding box. |
See Also
- module
aspose.threed.utilities - class
Vector2