vmml::AxisAlignedBoundingBox< T > Class Template Reference

List of all members.

Public Member Functions

 AxisAlignedBoundingBox (const Vector3< T > &pMin, const Vector3< T > &pMax)
 AxisAlignedBoundingBox (const Vector4< T > &sphere)
 AxisAlignedBoundingBox (T cx, T cy, T cz, T size)
bool isIn (const Vector3< T > &pos)
bool isIn2d (const Vector3< T > &pos)
bool isIn (const Vector4< T > &sphere)
void set (const Vector3< T > &pMin, const Vector3< T > &pMax)
void set (T cx, T cy, T cz, T size)
void setMin (const Vector3< T > &pMin)
void setMax (const Vector3< T > &pMax)
const Vector3< T > & getMin () const
const Vector3< T > & getMax () const
void merge (const AxisAlignedBoundingBox< T > &aabb)
void setEmpty (bool empty=true)
bool isEmpty () const
void setDirty (bool dirty=true)
bool isDirty () const
Vector3< T > getCenter () const

Protected Attributes

Vector3< T > _min
Vector3< T > _max
bool _dirty
bool _empty

template<typename T>
class vmml::AxisAlignedBoundingBox< T >


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2