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

#include <UT_RTree.h>

Public Types

typedef T Scalar
 

Public Member Functions

 UT_BoxT ()
 
template<typename U >
 UT_BoxT (const U p[3])
 
template<typename U >
 UT_BoxT (UT_Vector3T< U > p)
 
 UT_BoxT (const UT_BoundingBox &bbox)
 
bool isEmpty () const
 
T getMin (const int c) const
 
T getMax (const int c) const
 
UT_Vector3T< TgetCenter () const
 
UT_Vector3T< TgetSize () const
 
T getRadius2 () const
 
T getRadius () const
 
template<typename U >
void assignPoint (const U p[3])
 
template<typename U >
void assignPoint (UT_Vector3T< U > p)
 
template<typename U >
void absorbPoint (const U p[3])
 
template<typename U >
void absorbPoint (UT_Vector3T< U > p)
 
void absorbBox (const UT_BoxT< T > &b)
 
void absorbBox (const UT_BoundingBox &b)
 
void expandDistance (const T l)
 
void expandDistance (const T l, int axis)
 
bool contains (const T *const p) const
 
bool intersects (const UT_BoxT< T > &b) const
 
int getLargestAxis () const
 

Detailed Description

template<typename T>
class UT_BoxT< T >

Definition at line 27 of file UT_RTree.h.

Member Typedef Documentation

template<typename T>
typedef T UT_BoxT< T >::Scalar

Definition at line 30 of file UT_RTree.h.

Constructor & Destructor Documentation

template<typename T >
UT_BoxT< T >::UT_BoxT ( )
inline

Definition at line 20 of file UT_RTree.C.

template<typename T >
template<typename U >
UT_BoxT< T >::UT_BoxT ( const p[3])
inlineexplicit

Definition at line 34 of file UT_RTree.C.

template<typename T >
template<typename U >
UT_BoxT< T >::UT_BoxT ( UT_Vector3T< U >  p)
inlineexplicit

Definition at line 44 of file UT_RTree.C.

template<typename T >
UT_BoxT< T >::UT_BoxT ( const UT_BoundingBox bbox)
inlineexplicit

Definition at line 53 of file UT_RTree.C.

Member Function Documentation

template<typename T >
void UT_BoxT< T >::absorbBox ( const UT_BoxT< T > &  b)
inline

Definition at line 124 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::absorbBox ( const UT_BoundingBox b)
inline

Definition at line 137 of file UT_RTree.C.

template<typename T >
template<typename U >
void UT_BoxT< T >::absorbPoint ( const p[3])
inline

Definition at line 111 of file UT_RTree.C.

template<typename T>
template<typename U >
void UT_BoxT< T >::absorbPoint ( UT_Vector3T< U >  p)
inline

Definition at line 89 of file UT_RTree.h.

template<typename T >
template<typename U >
void UT_BoxT< T >::assignPoint ( const p[3])
inline

Definition at line 97 of file UT_RTree.C.

template<typename T>
template<typename U >
void UT_BoxT< T >::assignPoint ( UT_Vector3T< U >  p)
inline

Definition at line 83 of file UT_RTree.h.

template<typename T >
bool UT_BoxT< T >::contains ( const T *const  p) const
inline

Definition at line 177 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::expandDistance ( const T  l)
inline

Definition at line 150 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::expandDistance ( const T  l,
int  axis 
)
inline

Definition at line 166 of file UT_RTree.C.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getCenter ( ) const
inline

Definition at line 55 of file UT_RTree.h.

template<typename T >
int UT_BoxT< T >::getLargestAxis ( ) const
inline

Definition at line 197 of file UT_RTree.C.

template<typename T >
T UT_BoxT< T >::getMax ( const int  c) const
inline

Definition at line 86 of file UT_RTree.C.

template<typename T >
T UT_BoxT< T >::getMin ( const int  c) const
inline

Definition at line 76 of file UT_RTree.C.

template<typename T>
T UT_BoxT< T >::getRadius ( ) const
inline

Definition at line 74 of file UT_RTree.h.

template<typename T>
T UT_BoxT< T >::getRadius2 ( ) const
inline

Definition at line 67 of file UT_RTree.h.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getSize ( void  ) const
inline

Definition at line 61 of file UT_RTree.h.

template<typename T >
bool UT_BoxT< T >::intersects ( const UT_BoxT< T > &  b) const
inline

Definition at line 186 of file UT_RTree.C.

template<typename T >
bool UT_BoxT< T >::isEmpty ( ) const
inline

Definition at line 65 of file UT_RTree.C.


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