|
| | AlignedBox3 () |
| |
| | AlignedBox3 (Extent e) |
| |
| | AlignedBox3 (const AlignedBox3 &rkBox) |
| |
| | AlignedBox3 (const Vector3f &min, const Vector3f &max) |
| |
| | AlignedBox3 (float mx, float my, float mz, float Mx, float My, float Mz) |
| |
| AlignedBox3 & | operator= (const AlignedBox3 &rhs) |
| |
| | ~AlignedBox3 () |
| |
| const Vector3f & | getMinimum (void) const |
| | Gets the minimum corner of the box. More...
|
| |
| Vector3f & | getMinimum (void) |
| | Gets a modifiable version of the minimum corner of the box. More...
|
| |
| const Vector3f & | getMaximum (void) const |
| | Gets the maximum corner of the box. More...
|
| |
| Vector3f & | getMaximum (void) |
| | Gets a modifiable version of the maximum corner of the box. More...
|
| |
| void | setMinimum (const Vector3f &vec) |
| | Sets the minimum corner of the box. More...
|
| |
| void | setMinimum (real x, real y, real z) |
| |
| void | setMinimumX (real x) |
| | Changes one of the components of the minimum corner of the box used to resize only one dimension of the box. More...
|
| |
| void | setMinimumY (real y) |
| |
| void | setMinimumZ (real z) |
| |
| void | setMaximum (const Vector3f &vec) |
| | Sets the maximum corner of the box. More...
|
| |
| void | setMaximum (real x, real y, real z) |
| |
| void | setMaximumX (real x) |
| | Changes one of the components of the maximum corner of the box used to resize only one dimension of the box. More...
|
| |
| void | setMaximumY (real y) |
| |
| void | setMaximumZ (real z) |
| |
| void | setExtents (const Vector3f &min, const Vector3f &max) |
| | Sets both minimum and maximum extents at once. More...
|
| |
| void | setExtents (real mx, real my, real mz, real Mx, real My, real Mz) |
| |
| const Vector3f * | getAllCorners (void) const |
| | Returns a pointer to an array of 8 corner points, useful for collision vs. More...
|
| |
| Vector3f | getCorner (CornerEnum cornerToGet) const |
| | gets the position of one of the corners More...
|
| |
| void | merge (const AlignedBox3 &rhs) |
| | Merges the passed in box into the current box. More...
|
| |
| void | merge (const Vector3f &point) |
| | Extends the box to encompass the specified point (if needed). More...
|
| |
| void | transformAffine (const AffineTransform3 &tf) |
| | Transforms the box according to the matrix supplied. More...
|
| |
| void | setNull () |
| | Sets the box to a 'null' value i.e. More...
|
| |
| bool | isNull (void) const |
| | Returns true if the box is null i.e. More...
|
| |
| bool | isFinite (void) const |
| | Returns true if the box is finite. More...
|
| |
| void | setInfinite () |
| | Sets the box to 'infinite'. More...
|
| |
| bool | isInfinite (void) const |
| | Returns true if the box is infinite. More...
|
| |
| bool | intersects (const AlignedBox3 &b2) const |
| | Returns whether or not this box intersects another. More...
|
| |
| AlignedBox3 | intersection (const AlignedBox3 &b2) const |
| | Calculate the area of intersection of this box and another. More...
|
| |
| float | volume (void) const |
| | Calculate the volume of this box. More...
|
| |
| void | scale (const Vector3f &s) |
| | Scales the AABB by the vector given. More...
|
| |
| bool | intersects (const Sphere &s) const |
| | Tests whether this box intersects a sphere. More...
|
| |
| bool | intersects (const Plane &p) const |
| | Tests whether this box intersects a plane. More...
|
| |
| bool | intersects (const Vector3f &v) const |
| | Tests whether the vector point is within this box. More...
|
| |
| Vector3f | getCenter (void) const |
| | Gets the centre of the box. More...
|
| |
| Vector3f | getSize (void) const |
| | Gets the size of the box. More...
|
| |
| Vector3f | getHalfSize (void) const |
| | Gets the half-size of the box. More...
|
| |
| bool | contains (const Vector3f &v) const |
| | Tests whether the given point contained by this box. More...
|
| |
| bool | contains (const AlignedBox3 &other) const |
| | Tests whether another box contained by this box. More...
|
| |
| bool | operator== (const AlignedBox3 &rhs) const |
| | Tests 2 boxes for equality. More...
|
| |
| bool | operator!= (const AlignedBox3 &rhs) const |
| | Tests 2 boxes for inequality. More...
|
| |
| Vector3f & | operator[] (const size_t i) |
| |
| const Vector3f & | operator[] (const size_t i) const |
| |
A 3D box aligned with the x/y/z axes.