HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Box< T > Class Template Reference

#include <ImathBox.h>

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)
 
void makeInfinite ()
 
T size () const
 
T 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
 
bool isInfinite () const
 

Public Attributes

T min
 
T max
 

Detailed Description

template<class T>
class Box< T >

Definition at line 72 of file ImathBox.h.

Constructor & Destructor Documentation

template<class T >
Box< T >::Box ( )
inline

Definition at line 147 of file ImathBox.h.

template<class T>
Box< T >::Box ( const T point)
inline

Definition at line 154 of file ImathBox.h.

template<class T>
Box< T >::Box ( const T minT,
const T maxT 
)
inline

Definition at line 162 of file ImathBox.h.

Member Function Documentation

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

Definition at line 271 of file ImathBox.h.

template<class T>
void Box< T >::extendBy ( const T point)
inline

Definition at line 202 of file ImathBox.h.

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

Definition at line 217 of file ImathBox.h.

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

Definition at line 306 of file ImathBox.h.

template<class T>
bool Box< T >::intersects ( const T point) const
inline

Definition at line 232 of file ImathBox.h.

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

Definition at line 246 of file ImathBox.h.

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

Definition at line 279 of file ImathBox.h.

template<class T >
bool Box< T >::isInfinite ( ) const
inline

Definition at line 292 of file ImathBox.h.

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

Definition at line 320 of file ImathBox.h.

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

Definition at line 186 of file ImathBox.h.

template<class T >
void Box< T >::makeInfinite ( )
inline

Definition at line 193 of file ImathBox.h.

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

Definition at line 179 of file ImathBox.h.

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

Definition at line 171 of file ImathBox.h.

template<class T >
T Box< T >::size ( void  ) const
inline

Definition at line 260 of file ImathBox.h.

Member Data Documentation

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

Definition at line 81 of file ImathBox.h.

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

Definition at line 80 of file ImathBox.h.


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