#include <AABB.hpp>
Classes | |
struct | reset_impl |
struct | reset_impl< 0, dummy > |
struct | unite_impl |
struct | unite_impl< 0, dummy > |
struct | uniteBox_impl |
struct | uniteBox_impl< 0, dummy > |
Public Member Functions | |
AABB () | |
AABB (const VectorStat< Dim > &p) | |
AABB (const VectorStat< Dim > &l, const VectorStat< Dim > &u) | |
VectorStat< Dim > | center () |
void | expand (PREC d) |
void | expand (VectorStat< Dim > d) |
template<bool MoveMax> | |
void | expandToMaxExtent (const unsigned int &axis) |
void | expandToMaxExtent () |
void | expandToMinExtentAbsolute (PREC minExtent) |
void | expandToMinExtentAbsolute (ArrayStat< Dim > minExtent) |
void | expandToMinExtentRelative (PREC p, PREC defaultExtent, PREC eps) |
ArrayStat< Dim > | extent () const |
bool | isEmpty () const |
PREC | maxExtent () const |
AABB | operator+ (const AABB &box) |
template<typename Derived > | |
AABB & | operator+= (const MatrixBase< Derived > &p) |
AABB & | operator+= (const AABB &box) |
bool | overlaps (const AABB &box) const |
template<typename Derived > | |
bool | overlaps (const MatrixBase< Derived > &p) const |
bool | overlapsSubSpace (const AABB &box, unsigned int fixedAxis) const |
void | reset () |
AABB & | transform (const AffineTrafo &M) |
template<typename Derived > | |
AABB & | unite (const MatrixBase< Derived > &p) |
void | unite (const AABB &box) |
PREC | volume () const |
Public Attributes | |
VectorStat< Dim > | m_maxPoint |
VectorStat< Dim > | m_minPoint |
ApproxMVBB::AABB< Dim >::AABB | ( | ) | [inline] |
ApproxMVBB::AABB< Dim >::AABB | ( | const VectorStat< Dim > & | p | ) | [inline] |
ApproxMVBB::AABB< Dim >::AABB | ( | const VectorStat< Dim > & | l, |
const VectorStat< Dim > & | u | ||
) | [inline] |
VectorStat<Dim> ApproxMVBB::AABB< Dim >::center | ( | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expand | ( | PREC | d | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expand | ( | VectorStat< Dim > | d | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expandToMaxExtent | ( | const unsigned int & | axis | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expandToMaxExtent | ( | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expandToMinExtentAbsolute | ( | PREC | minExtent | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expandToMinExtentAbsolute | ( | ArrayStat< Dim > | minExtent | ) | [inline] |
void ApproxMVBB::AABB< Dim >::expandToMinExtentRelative | ( | PREC | p, |
PREC | defaultExtent, | ||
PREC | eps | ||
) | [inline] |
ArrayStat<Dim> ApproxMVBB::AABB< Dim >::extent | ( | ) | const [inline] |
bool ApproxMVBB::AABB< Dim >::isEmpty | ( | ) | const [inline] |
PREC ApproxMVBB::AABB< Dim >::maxExtent | ( | ) | const [inline] |
AABB ApproxMVBB::AABB< Dim >::operator+ | ( | const AABB< Dim > & | box | ) | [inline] |
AABB& ApproxMVBB::AABB< Dim >::operator+= | ( | const MatrixBase< Derived > & | p | ) | [inline] |
AABB& ApproxMVBB::AABB< Dim >::operator+= | ( | const AABB< Dim > & | box | ) | [inline] |
bool ApproxMVBB::AABB< Dim >::overlaps | ( | const AABB< Dim > & | box | ) | const [inline] |
bool ApproxMVBB::AABB< Dim >::overlaps | ( | const MatrixBase< Derived > & | p | ) | const [inline] |
bool ApproxMVBB::AABB< Dim >::overlapsSubSpace | ( | const AABB< Dim > & | box, |
unsigned int | fixedAxis | ||
) | const [inline] |
void ApproxMVBB::AABB< Dim >::reset | ( | ) | [inline] |
AABB& ApproxMVBB::AABB< Dim >::transform | ( | const AffineTrafo & | M | ) | [inline] |
AABB& ApproxMVBB::AABB< Dim >::unite | ( | const MatrixBase< Derived > & | p | ) | [inline] |
void ApproxMVBB::AABB< Dim >::unite | ( | const AABB< Dim > & | box | ) | [inline] |
PREC ApproxMVBB::AABB< Dim >::volume | ( | ) | const [inline] |
VectorStat<Dim> ApproxMVBB::AABB< Dim >::m_maxPoint |
VectorStat<Dim> ApproxMVBB::AABB< Dim >::m_minPoint |