AABB3D< T > Class Template Reference

#include <rimPhysicsAABB3D.h>

List of all members.

Public Member Functions

 AABB3D ()
 AABB3D (T newXMin, T newXMax, T newYMin, T newYMax, T newZMin, T newZMax)
bool contains (const AABB3D< T > &bounds) const
bool intersects (const AABB3D< T > &bounds) const
void set (T newXMin, T newXMax, T newYMin, T newYMax, T newZMin, T newZMax)
getWidth () const
getHeight () const
getDepth () const
void enlargeFor (const Vector3D< T > &point)
AABB3D< T > operator+ (const AABB3D< T > &bounds) const
AABB3D< T > getUnion (const AABB3D< T > &bounds) const

Public Attributes

Vector3D< T > min
 The maximum (most positive) point in 3D space defining an AABB.
Vector3D< T > max
 The minimum (most negative) point in 3D space defining an AABB.

template<typename T>
class AABB3D< T >


Constructor & Destructor Documentation

template<typename T>
AABB3D< T >::AABB3D (  )  [inline]

template<typename T>
AABB3D< T >::AABB3D ( newXMin,
newXMax,
newYMin,
newYMax,
newZMin,
newZMax 
) [inline]


Member Function Documentation

template<typename T>
bool AABB3D< T >::contains ( const AABB3D< T > &  bounds  )  const [inline]

template<typename T>
bool AABB3D< T >::intersects ( const AABB3D< T > &  bounds  )  const [inline]

template<typename T>
void AABB3D< T >::set ( newXMin,
newXMax,
newYMin,
newYMax,
newZMin,
newZMax 
) [inline]

template<typename T>
T AABB3D< T >::getWidth (  )  const [inline]

template<typename T>
T AABB3D< T >::getHeight (  )  const [inline]

template<typename T>
T AABB3D< T >::getDepth (  )  const [inline]

template<typename T>
void AABB3D< T >::enlargeFor ( const Vector3D< T > &  point  )  [inline]

template<typename T>
AABB3D<T> AABB3D< T >::operator+ ( const AABB3D< T > &  bounds  )  const [inline]

template<typename T>
AABB3D<T> AABB3D< T >::getUnion ( const AABB3D< T > &  bounds  )  const [inline]


Member Data Documentation

template<typename T>
Vector3D<T> AABB3D< T >::min

The maximum (most positive) point in 3D space defining an AABB.

template<typename T>
Vector3D<T> AABB3D< T >::max

The minimum (most negative) point in 3D space defining an AABB.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:17 2008 for Rim Physics by  doxygen 1.5.4