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

#include <ImathBox.h>

Public Member Functions

 Box ()
 
 Box (const Vec2< T > &point)
 
 Box (const Vec2< T > &minT, const Vec2< T > &maxT)
 
bool operator== (const Box< Vec2< T > > &src) const
 
bool operator!= (const Box< Vec2< T > > &src) const
 
void makeEmpty ()
 
void extendBy (const Vec2< T > &point)
 
void extendBy (const Box< Vec2< T > > &box)
 
void makeInfinite ()
 
Vec2< Tsize () const
 
Vec2< Tcenter () const
 
bool intersects (const Vec2< T > &point) const
 
bool intersects (const Box< Vec2< T > > &box) const
 
unsigned int majorAxis () const
 
bool isEmpty () const
 
bool hasVolume () const
 
bool isInfinite () const
 

Public Attributes

Vec2< Tmin
 
Vec2< Tmax
 

Detailed Description

template<class T>
class Box< Vec2< T > >

Definition at line 343 of file ImathBox.h.

Constructor & Destructor Documentation

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

Definition at line 403 of file ImathBox.h.

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

Definition at line 410 of file ImathBox.h.

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

Definition at line 418 of file ImathBox.h.

Member Function Documentation

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

Definition at line 529 of file ImathBox.h.

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

Definition at line 458 of file ImathBox.h.

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

Definition at line 476 of file ImathBox.h.

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

Definition at line 560 of file ImathBox.h.

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

Definition at line 494 of file ImathBox.h.

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

Definition at line 506 of file ImathBox.h.

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

Definition at line 537 of file ImathBox.h.

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

Definition at line 548 of file ImathBox.h.

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

Definition at line 572 of file ImathBox.h.

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

Definition at line 442 of file ImathBox.h.

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

Definition at line 449 of file ImathBox.h.

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

Definition at line 435 of file ImathBox.h.

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

Definition at line 427 of file ImathBox.h.

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

Definition at line 518 of file ImathBox.h.

Member Data Documentation

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

Definition at line 352 of file ImathBox.h.

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

Definition at line 351 of file ImathBox.h.


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