HDK
|
#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_BoxT & | operator= (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) |
Definition at line 34 of file UT_RTreeBox.h.
Definition at line 43 of file UT_RTreeBox.h.
using UT_BoxT< FT >::FT3 = UT_Vector3T< FT > |
Definition at line 45 of file UT_RTreeBox.h.
Definition at line 44 of file UT_RTreeBox.h.
Definition at line 282 of file UT_RTreeBox.h.
|
explicit |
|
explicit |
|
explicit |
constexpr UT_BoxT< FT >::UT_BoxT | ( | const CT::BoundPointArrayType | , |
POINT_ARRAY && | l_x, | ||
const exint | size | ||
) |
constexpr UT_BoxT< FT >::UT_BoxT | ( | const CT::BoundIndirectRangePointArrayType | , |
POINT_ARRAY && | l_x, | ||
const CIT | begin, | ||
const CIT | end | ||
) |
constexpr UT_BoxT< FT >::UT_BoxT | ( | const CT::BoundPointGeneratorType | , |
POINT_GENERATOR && | generator, | ||
const exint | size | ||
) |
void UT_BoxT< FT >::absorbBox | ( | const UT_BoundingBox & | b | ) |
|
inline |
Definition at line 99 of file UT_RTreeBox.h.
|
inline |
Definition at line 93 of file UT_RTreeBox.h.
bool UT_BoxT< FT >::contains | ( | const FT | p[3] | ) | const |
Definition at line 143 of file UT_RTreeBox.h.
|
inline |
Definition at line 130 of file UT_RTreeBox.h.
Definition at line 119 of file UT_RTreeBox.h.
constexpr bool UT_BoxT< FT >::isEmpty | ( | ) | const |
|
friend |
|
friend |