|
|
Public Types | |
| enum | { Dim = PointType::Dim } |
| typedef Point | PointType |
| typedef Point::ScalarType | ScalarType |
Public Member Functions | |
| AABox () | |
| AABox (const AACube< PointType > &cube) | |
| AABox (const PointType &pmin, const PointType &pmax) | |
| template<class Points > | |
| void | Bound (const Points &points, size_t size) |
| void | Bound (const PointType &p, ScalarType r) |
| template<class PointForwardIterator > | |
| void | Bound (PointForwardIterator begin, PointForwardIterator end) |
| void | Center (Point *center) const |
| ScalarType | DiagLength () const |
| template<class PointT > | |
| ScalarType | Distance (const PointT &p) const |
| AABox< Point > & | IncrementalBound (const AABox< Point > &box) |
| AABox< Point > & | IncrementalBound (const PointType &p) |
| AABox< Point > & | IncrementalBound (const PointType &p, ScalarType r) |
| void | Infinite () |
| bool | IsInside (const Point &p) const |
| Point & | Max () |
| const Point & | Max () const |
| template<class PointT > | |
| ScalarType | MaxSqrDist (const PointT &p) const |
| Point & | Min () |
| const Point & | Min () const |
| template<class PointT > | |
| ScalarType | MinSqrDist (const PointT &p) const |
| AABox< Point > & | operator+= (const PointType &p) |
| AABox< Point > & | operator= (const AACube< PointType > &cube) |
| Point | operator[] (unsigned int index) const |
| void | Split (unsigned int axis, ScalarType s, AABox< Point > *left, AABox< Point > *right) const |
| typedef Point::ScalarType ScalarType |
| void Bound | ( | const Points & | points, |
| size_t | size | ||
| ) |
| void Bound | ( | const PointType & | p, |
| ScalarType | r | ||
| ) |
| void Bound | ( | PointForwardIterator | begin, |
| PointForwardIterator | end | ||
| ) |
|
inline |
| AABox< Point >::ScalarType Distance | ( | const PointT & | p | ) | const |
| AABox< Point > & IncrementalBound | ( | const PointType & | p, |
| ScalarType | r | ||
| ) |
|
inline |
|
inline |
| AABox< Point >::ScalarType MaxSqrDist | ( | const PointT & | p | ) | const |
|
inline |
|
inline |
| AABox< Point >::ScalarType MinSqrDist | ( | const PointT & | p | ) | const |
| void Split | ( | unsigned int | axis, |
| ScalarType | s, | ||
| AABox< Point > * | left, | ||
| AABox< Point > * | right | ||
| ) | const |