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

#include <UT_RTreeBox.h>

Public Types

using CT = UT_BoxCT
 
using Scalar = FT
 
using FT3 = UT_Vector3T< FT >
 

Public Member Functions

constexpr UT_BoxT ()
 
template<typename U >
constexpr UT_BoxT (const U p[3])
 
template<typename U >
constexpr UT_BoxT (const UT_Vector3T< U > &p)
 
constexpr UT_BoxT (const UT_BoundingBox &a)
 
template<typename POINT_ARRAY >
constexpr UT_BoxT (const CT::BoundPointArrayType, POINT_ARRAY &&l_x, const exint size)
 
template<typename CIT , typename POINT_ARRAY >
constexpr UT_BoxT (const CT::BoundIndirectRangePointArrayType, POINT_ARRAY &&l_x, const CIT begin, const CIT end)
 
template<typename POINT_GENERATOR >
constexpr UT_BoxT (const CT::BoundPointGeneratorType, POINT_GENERATOR &&generator, const exint size)
 
 UT_BoxT (const UT_BoxT &)=default
 
UT_BoxToperator= (const UT_BoxT &)=default
 
constexpr bool isEmpty () const
 
template<typename U >
void assignPoint (const U p[3])
 
template<typename U >
void assignPoint (const UT_Vector3T< U > p)
 
template<typename U >
void absorbPoint (const U p[3])
 
template<typename U >
void absorbPoint (const UT_Vector3T< U > p)
 
void absorbBox (const UT_BoxT< FT > &b)
 
void absorbBox (const UT_BoundingBox &b)
 
void expandDistance (const FT l)
 
FT getMin (const int c) const
 
FT getMax (const int c) const
 
FT3 getSize () const
 
FT getRadius2 () const
 
FT3 getCenter () const
 
bool contains (const FT p[3]) const
 
int getLargestAxis () const
 

Friends

void setEmpty (UT_BoxT< FT > &t)
 
bool intersects (const UT_BoxT< float > &a, const UT_BoxT< float > &b)
 
bool intersects (const UT_BoxT< double > &a, const UT_BoxT< double > &b)
 

Detailed Description

template<typename FT>
class UT_BoxT< FT >

Definition at line 34 of file UT_RTreeBox.h.

Member Typedef Documentation

template<typename FT>
using UT_BoxT< FT >::CT = UT_BoxCT

Definition at line 43 of file UT_RTreeBox.h.

template<typename FT>
using UT_BoxT< FT >::FT3 = UT_Vector3T< FT >

Definition at line 45 of file UT_RTreeBox.h.

template<typename FT>
using UT_BoxT< FT >::Scalar = FT

Definition at line 44 of file UT_RTreeBox.h.

Constructor & Destructor Documentation

template<typename FT >
constexpr UT_BoxT< FT >::UT_BoxT ( )

Definition at line 282 of file UT_RTreeBox.h.

template<typename FT>
template<typename U >
constexpr UT_BoxT< FT >::UT_BoxT ( const U  p[3])
explicit
template<typename FT>
template<typename U >
constexpr UT_BoxT< FT >::UT_BoxT ( const UT_Vector3T< U > &  p)
explicit
template<typename FT>
constexpr UT_BoxT< FT >::UT_BoxT ( const UT_BoundingBox a)
explicit
template<typename FT>
template<typename POINT_ARRAY >
constexpr UT_BoxT< FT >::UT_BoxT ( const CT::BoundPointArrayType  ,
POINT_ARRAY &&  l_x,
const exint  size 
)
template<typename FT>
template<typename CIT , typename POINT_ARRAY >
constexpr UT_BoxT< FT >::UT_BoxT ( const CT::BoundIndirectRangePointArrayType  ,
POINT_ARRAY &&  l_x,
const CIT  begin,
const CIT  end 
)
template<typename FT>
template<typename POINT_GENERATOR >
constexpr UT_BoxT< FT >::UT_BoxT ( const CT::BoundPointGeneratorType  ,
POINT_GENERATOR &&  generator,
const exint  size 
)
template<typename FT>
UT_BoxT< FT >::UT_BoxT ( const UT_BoxT< FT > &  )
default

Member Function Documentation

template<typename FT>
void UT_BoxT< FT >::absorbBox ( const UT_BoxT< FT > &  b)
template<typename FT>
void UT_BoxT< FT >::absorbBox ( const UT_BoundingBox b)
template<typename FT>
template<typename U >
void UT_BoxT< FT >::absorbPoint ( const U  p[3])
template<typename FT>
template<typename U >
void UT_BoxT< FT >::absorbPoint ( const UT_Vector3T< U >  p)
inline

Definition at line 99 of file UT_RTreeBox.h.

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

Definition at line 93 of file UT_RTreeBox.h.

template<typename FT>
bool UT_BoxT< FT >::contains ( const FT  p[3]) const
template<typename FT>
void UT_BoxT< FT >::expandDistance ( const FT  l)
template<typename FT>
FT3 UT_BoxT< FT >::getCenter ( ) const
inline

Definition at line 143 of file UT_RTreeBox.h.

template<typename FT>
int UT_BoxT< FT >::getLargestAxis ( ) const
template<typename FT>
FT UT_BoxT< FT >::getMax ( const int  c) const
template<typename FT>
FT UT_BoxT< FT >::getMin ( const int  c) const
template<typename FT>
FT UT_BoxT< FT >::getRadius2 ( ) const
inline

Definition at line 130 of file UT_RTreeBox.h.

template<typename FT>
FT3 UT_BoxT< FT >::getSize ( ) const
inline

Definition at line 119 of file UT_RTreeBox.h.

template<typename FT>
constexpr bool UT_BoxT< FT >::isEmpty ( ) const
template<typename FT>
UT_BoxT& UT_BoxT< FT >::operator= ( const UT_BoxT< FT > &  )
default

Friends And Related Function Documentation

template<typename FT>
bool intersects ( const UT_BoxT< float > &  a,
const UT_BoxT< float > &  b 
)
friend
template<typename FT>
bool intersects ( const UT_BoxT< double > &  a,
const UT_BoxT< double > &  b 
)
friend
template<typename FT>
void setEmpty ( UT_BoxT< FT > &  t)
friend

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