Rumba C++ SDK
Imath::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)
 
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
 

Constructor & Destructor Documentation

◆ Box() [1/3]

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

◆ Box() [2/3]

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

◆ Box() [3/3]

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

Member Function Documentation

◆ center()

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

◆ extendBy() [1/2]

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

◆ extendBy() [2/2]

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

◆ hasVolume()

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

◆ intersects() [1/2]

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

◆ intersects() [2/2]

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

◆ isEmpty()

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

◆ majorAxis()

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

◆ makeEmpty()

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

◆ operator!=()

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

◆ operator==()

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

◆ size()

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

Member Data Documentation

◆ max

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

◆ min

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

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