Imath::Box< T > Class Template Reference

#include <ImathBox.h>

List of all members.

Public Member Functions

 Box ()
 Box (const T &point)
 Box (const T &minT, const T &maxT)
bool operator== (const Box< T > &src) const
bool operator!= (const Box< T > &src) const
void makeEmpty ()
void extendBy (const T &point)
void extendBy (const Box< T > &box)
size () const
center () const
bool intersects (const T &point) const
bool intersects (const Box< T > &box) const
unsigned int majorAxis () const
bool isEmpty () const
bool hasVolume () const

Public Attributes

min
max


Detailed Description

template<class T>
class Imath::Box< T >

Definition at line 71 of file ImathBox.h.


Constructor & Destructor Documentation

template<class T >
Imath::Box< T >::Box (  )  [inline]

Definition at line 144 of file ImathBox.h.

template<class T >
Imath::Box< T >::Box ( const T &  point  )  [inline]

Definition at line 151 of file ImathBox.h.

template<class T >
Imath::Box< T >::Box ( const T &  minT,
const T &  maxT 
) [inline]

Definition at line 159 of file ImathBox.h.


Member Function Documentation

template<class T >
T Imath::Box< T >::center (  )  const [inline]

Definition at line 261 of file ImathBox.h.

template<class T >
void Imath::Box< T >::extendBy ( const Box< T > &  box  )  [inline]

Definition at line 207 of file ImathBox.h.

template<class T >
void Imath::Box< T >::extendBy ( const T &  point  )  [inline]

Definition at line 192 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::hasVolume (  )  const [inline]

Definition at line 283 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::intersects ( const Box< T > &  box  )  const [inline]

Definition at line 236 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::intersects ( const T &  point  )  const [inline]

Definition at line 222 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::isEmpty (  )  const [inline]

Definition at line 269 of file ImathBox.h.

template<class T >
unsigned int Imath::Box< T >::majorAxis (  )  const [inline]

Definition at line 297 of file ImathBox.h.

template<class T >
void Imath::Box< T >::makeEmpty (  )  [inline]

Definition at line 183 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::operator!= ( const Box< T > &  src  )  const [inline]

Definition at line 176 of file ImathBox.h.

template<class T >
bool Imath::Box< T >::operator== ( const Box< T > &  src  )  const [inline]

Definition at line 168 of file ImathBox.h.

template<class T >
T Imath::Box< T >::size (  )  const [inline]

Definition at line 250 of file ImathBox.h.


Member Data Documentation

template<class T>
T Imath::Box< T >::max

Definition at line 80 of file ImathBox.h.

template<class T>
T Imath::Box< T >::min

Definition at line 79 of file ImathBox.h.


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

Generated on Mon Jan 28 00:49:30 2013 for HDK by  doxygen 1.5.9