An axis-aligned bounding box; that is, a minimum and maximum coordinate triple. More...
Public Member Functions | |
BoundingBox () | |
Constructs an empty box object. | |
BoundingBox (Point3 const min, Point3 const max) | |
Constructs a specific box object. | |
int | getNumPlanes () |
Returns 6: the number of faces of a rectangular solid. | |
int | getNumPoints () |
Returns 8: the number of vertices of a rectangular solid. | |
LPlanef | getPlane (int n) |
Returns the nth face of the rectangular solid. | |
list | getPlanes () |
Point3 | getPoint (int n) |
Returns the nth vertex of the rectangular solid. | |
list | getPoints () |
operator new (unsigned int size) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
An axis-aligned bounding box; that is, a minimum and maximum coordinate triple.
This box is always axis-aligned. If you need a more general bounding box, try BoundingHexahedron.
BoundingBox | ( | ) |
Constructs an empty box object.
BoundingBox | ( | Point3 const | min, |
Point3 const | max | ||
) |
Constructs a specific box object.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from FiniteBoundingVolume.
int getNumPlanes | ( | ) |
Returns 6: the number of faces of a rectangular solid.
int getNumPoints | ( | ) |
Returns 8: the number of vertices of a rectangular solid.
list getPlanes | ( | ) |
list getPoints | ( | ) |
operator new | ( | unsigned int | size | ) |