A 3D axis-aligned bounding box (AABB).
Public Member Functions | |
Box3D () | |
Constructor. More... | |
Box3D (const Box3D &other) | |
Copy constructor. More... | |
Box3D (const Vec3F &nMinPos, const Vec3F &nMaxPos) | |
Define an axis-aligned box by specifying its minimum and maximum corners. More... | |
virtual const Vec3F & | getMinimumPosition () const |
Get the position of the (numerical) minimum corner of the box. More... | |
virtual const Vec3F & | getMaximumPosition () const |
Get the position of the (numerical) maximum corner of the box. More... | |
virtual | ~Box3D () |
Protected Attributes | |
Vec3F | minimumPosition |
Vec3F | maximumPosition |
Box3D | ( | ) |
Constructor.
Define an axis-aligned box by specifying its minimum and maximum corners.
The minimum and maximum points refer to numerical minimum and maximum (ie min.x < max.x, min.y < max.y, and min.z < max.z).
nMinPos | The minimum corner point. |
nMaxPos | The maximum corner point. |
|
virtual |
|
virtual |
Get the position of the (numerical) minimum corner of the box.
|
virtual |
Get the position of the (numerical) maximum corner of the box.
|
protected |
|
protected |