Public Member Functions | |
BoundingBox () | |
BoundingBox (const BoundingBox &bb) | |
BoundingBox (const base::Point3 &lower, const base::Point3 &upper) | |
~BoundingBox () | |
base::Point3 | lower () const |
base::Point3 | upper () const |
void | setExtents (const base::Point3 &lower, const base::Point3 &upper) |
void | setCenter (const base::Point3 ¢er) |
void | setDimension (const base::Dimension3 &dim) |
base::Dimension3 | getDimension () const |
void | setEmpty () |
void | enclose (const BoundingBox &a, const BoundingBox &b) |
void | include (const base::Point3 &p) |
void | include (const BoundingBox &bb) |
void | transform (const base::Transform &t) |
Real | size () const |
Int | longestAxis () const |
Static Public Member Functions | |
bool | intersect (const BoundingBox &a, const BoundingBox &b) |
|
Definition at line 40 of file BoundingBox. |
|
Definition at line 41 of file BoundingBox. |
|
Definition at line 43 of file BoundingBox. References base::Point3, and setExtents(). |
|
Definition at line 45 of file BoundingBox. |
|
Referenced by include(). |
|
Definition at line 56 of file BoundingBox. References base::Dimension3. |
|
Definition at line 65 of file BoundingBox. References enclose(). |
|
Referenced by physics::CollidableGroup::getBoundingBox(). |
|
Definition at line 76 of file BoundingBox. References center, extent, base::Vector3::x, base::Vector3::y, and base::Vector3::z. |
|
Definition at line 74 of file BoundingBox. References base::Vector3::largestAxis(). |
|
Definition at line 47 of file BoundingBox. References base::Point3. |
|
Definition at line 54 of file BoundingBox. References base::Point3. |
|
Definition at line 55 of file BoundingBox. References base::Dimension3. |
|
Definition at line 58 of file BoundingBox. References base::Point3. Referenced by physics::CollidableGroup::getBoundingBox(). |
|
Definition at line 51 of file BoundingBox. References base::Point3. Referenced by BoundingBox(). |
|
Definition at line 72 of file BoundingBox. References base::Vector3::x, base::Vector3::y, and base::Vector3::z. |
|
take axis-aligned box represented by *this and transform it by t, yielding a non-axis-aliigned box. *this becomes a new axis-aligned box that encloses the non-aligned box. Referenced by physics::CollidableBody::getBoundingBox(). |
|
Definition at line 48 of file BoundingBox. References base::Point3. |