AABB2D< T > Class Template Reference

#include <rimPhysicsAABB2D.h>

List of all members.

Public Member Functions

 AABB2D ()
 AABB2D (T newXMin, T newXMax, T newYMin, T newYMax)
bool contains (const AABB2D &bounds)
bool intersects (const AABB2D &bounds)
void set (T newXMin, T newXMax, T newYMin, T newYMax)
getWidth () const
getHeight () const
void enlargeFor (const Vector2D< T > &point)
AABB2D< T > operator+ (const AABB2D< T > &bounds) const
AABB2D< T > getUnion (const AABB2D< T > &bounds) const

Public Attributes

Vector2D< T > min
Vector2D< T > max

template<typename T>
class AABB2D< T >


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

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

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

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

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

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

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

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


Member Data Documentation

template<typename T>
Vector2D<T> AABB2D< T >::min

template<typename T>
Vector2D<T> AABB2D< T >::max


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