#include <vhdAxisAlignedBox.h>
Public Member Functions | |
| vhdAxisAlignedBox () | |
| vhdAxisAlignedBox (float mx, float my, float mz, float Mx, float My, float Mz) | |
| vhdVector3 | getMinimum (void) const |
| vhdVector3 | getMaximum (void) const |
| void | setMinimum (const vhdVector3 &vec) |
| void | setMinimum (float x, float y, float z) |
| void | setMaximum (const vhdVector3 &vec) |
| void | setMaximum (float x, float y, float z) |
| void | setExtents (const vhdVector3 &min, const vhdVector3 &max) |
| void | setExtents (float mx, float my, float mz, float Mx, float My, float Mz) |
| const vhdVector3 * | getAllCorners (void) const |
| void | merge (const vhdAxisAlignedBox &rhs) |
| void | transform (const vhdMatrix4 &matrix) |
| void | setNull () |
| bool | isNull (void) const |
| float | getSquaredDist (const vhdVector3 &point) |
| bool | intersects (const vhdVector3 &v) const |
| bool | hasXOverlap (const vhdAxisAlignedBox &rkBox) const |
| bool | hasYOverlap (const vhdAxisAlignedBox &rkBox) const |
| bool | hasZOverlap (const vhdAxisAlignedBox &rkBox) const |
| bool | intersects (const vhdAxisAlignedBox &rkBox) const |
| bool | findIntersection (const vhdAxisAlignedBox &rkBox, vhdAxisAlignedBox &rkIntr) const |
Protected Member Functions | |
| void | _updateCorners (void) |
Protected Attributes | |
| vhdVector3 | _vecMinimum |
| vhdVector3 | _vecMaximum |
| bool | _bNull |
| vhdVector3 | _vecCorners [8] |
Friends | |
| std::ostream & | operator<< (std::ostream &o, vhdAxisAlignedBox aab) |
| vhdAxisAlignedBox::vhdAxisAlignedBox | ( | ) | [inline] |
| vhdAxisAlignedBox::vhdAxisAlignedBox | ( | float | mx, | |
| float | my, | |||
| float | mz, | |||
| float | Mx, | |||
| float | My, | |||
| float | Mz | |||
| ) | [inline] |
| void vhdAxisAlignedBox::_updateCorners | ( | void | ) | [inline, protected] |
| vhdVector3 vhdAxisAlignedBox::getMinimum | ( | void | ) | const [inline] |
| vhdVector3 vhdAxisAlignedBox::getMaximum | ( | void | ) | const [inline] |
| void vhdAxisAlignedBox::setMinimum | ( | const vhdVector3 & | vec | ) | [inline] |
| void vhdAxisAlignedBox::setMinimum | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) | [inline] |
| void vhdAxisAlignedBox::setMaximum | ( | const vhdVector3 & | vec | ) | [inline] |
| void vhdAxisAlignedBox::setMaximum | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) | [inline] |
| void vhdAxisAlignedBox::setExtents | ( | const vhdVector3 & | min, | |
| const vhdVector3 & | max | |||
| ) | [inline] |
| void vhdAxisAlignedBox::setExtents | ( | float | mx, | |
| float | my, | |||
| float | mz, | |||
| float | Mx, | |||
| float | My, | |||
| float | Mz | |||
| ) | [inline] |
| const vhdVector3* vhdAxisAlignedBox::getAllCorners | ( | void | ) | const [inline] |
| void vhdAxisAlignedBox::merge | ( | const vhdAxisAlignedBox & | rhs | ) | [inline] |
| void vhdAxisAlignedBox::transform | ( | const vhdMatrix4 & | matrix | ) | [inline] |
| void vhdAxisAlignedBox::setNull | ( | ) | [inline] |
| bool vhdAxisAlignedBox::isNull | ( | void | ) | const [inline] |
| float vhdAxisAlignedBox::getSquaredDist | ( | const vhdVector3 & | point | ) | [inline] |
| bool vhdAxisAlignedBox::intersects | ( | const vhdVector3 & | v | ) | const [inline] |
| bool vhdAxisAlignedBox::hasXOverlap | ( | const vhdAxisAlignedBox & | rkBox | ) | const [inline] |
| bool vhdAxisAlignedBox::hasYOverlap | ( | const vhdAxisAlignedBox & | rkBox | ) | const [inline] |
| bool vhdAxisAlignedBox::hasZOverlap | ( | const vhdAxisAlignedBox & | rkBox | ) | const [inline] |
| bool vhdAxisAlignedBox::intersects | ( | const vhdAxisAlignedBox & | rkBox | ) | const [inline] |
| bool vhdAxisAlignedBox::findIntersection | ( | const vhdAxisAlignedBox & | rkBox, | |
| vhdAxisAlignedBox & | rkIntr | |||
| ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | o, | |
| vhdAxisAlignedBox | aab | |||
| ) | [friend] |
vhdVector3 vhdAxisAlignedBox::_vecMinimum [protected] |
vhdVector3 vhdAxisAlignedBox::_vecMaximum [protected] |
bool vhdAxisAlignedBox::_bNull [protected] |
vhdVector3 vhdAxisAlignedBox::_vecCorners[8] [protected] |
1.5.1-p1