|
|
Public Types | |
| enum | { Dim = Point::Dim, NCorners = 1 << Point::Dim } |
| typedef Point | PointType |
| typedef Point::ScalarType | ScalarType |
Public Member Functions | |
| AACube () | |
| AACube (const Point &backBottomLeft, ScalarType width) | |
| AACube (const Point *points, size_t size) | |
| AACube (unsigned int box, const AACube< Point > &cube) | |
| template<class Points > | |
| void | Bound (const Points &points, size_t size) |
| template<class IteratorT > | |
| void | Bound (IteratorT begin, IteratorT end) |
| template<class IteratorT > | |
| void | BoundNonCentered (IteratorT begin, IteratorT end) |
| template<class Points > | |
| void | BoundRotationInvariant (const Points &points, size_t size) |
| void | Center (const Point &c) |
| void | Center (Point *c) const |
| ScalarType | DiagLength () const |
| ScalarType | Distance (const PointType &p) const |
| void | DividingPlane (unsigned int axis, Point *n, ScalarType *d) const |
| void | DividingPlane (unsigned int axis, ScalarType *s) |
| void | Inflate (ScalarType v) |
| bool | IsInside (const Point &p) const |
| bool | IsSubCube (unsigned int *box, const AACube< Point > &cube) const |
| const Point & | LeftBottomBack () const |
| void | LeftBottomBack (const Point &lbb) |
| Point | Max () const |
| Point & | Min () |
| const Point & | Min () const |
| Point | operator[] (int index) const |
| void | Scale (ScalarType s) |
| ScalarType | SqrDistance (const PointType &p) const |
| void | SubCube (unsigned int box, AACube< Point > *cube) const |
| void | Translate (const PointType &t) |
| ScalarType | Width () const |
| void | Width (ScalarType w) |
| typedef Point::ScalarType ScalarType |
Definition at line 6 of file AACube.hpp.
| AACube | ( | const Point & | backBottomLeft, |
| ScalarType | width | ||
| ) |
Definition at line 13 of file AACube.hpp.
Definition at line 19 of file AACube.hpp.
Definition at line 25 of file AACube.hpp.
| void Bound | ( | const Points & | points, |
| size_t | size | ||
| ) |
| void BoundRotationInvariant | ( | const Points & | points, |
| size_t | size | ||
| ) |
| void Center | ( | const Point & | c | ) |
Definition at line 64 of file AACube.hpp.
| void Center | ( | Point * | c | ) | const |
| AACube< Point >::ScalarType DiagLength |
Definition at line 175 of file AACube.hpp.
| AACube< Point >::ScalarType Distance | ( | const PointType & | p | ) | const |
Definition at line 193 of file AACube.hpp.
| void DividingPlane | ( | unsigned int | axis, |
| Point * | n, | ||
| ScalarType * | d | ||
| ) | const |
Definition at line 32 of file AACube.hpp.
| void DividingPlane | ( | unsigned int | axis, |
| ScalarType * | s | ||
| ) |
Definition at line 43 of file AACube.hpp.
| void Inflate | ( | ScalarType | v | ) |
Definition at line 182 of file AACube.hpp.
| bool IsInside | ( | const Point & | p | ) | const |
Definition at line 120 of file AACube.hpp.
Definition at line 92 of file AACube.hpp.
| const Point & LeftBottomBack |
Definition at line 146 of file AACube.hpp.
| void LeftBottomBack | ( | const Point & | lbb | ) |
Definition at line 153 of file AACube.hpp.
|
inline |
|
inline |
| Point operator[] | ( | int | index | ) | const |
Definition at line 160 of file AACube.hpp.
| void Scale | ( | ScalarType | s | ) |
Definition at line 250 of file AACube.hpp.
| AACube< Point >::ScalarType SqrDistance | ( | const PointType & | p | ) | const |
Definition at line 218 of file AACube.hpp.
| void Translate | ( | const PointType & | t | ) |
Definition at line 243 of file AACube.hpp.
| AACube< Point >::ScalarType Width |
| void Width | ( | ScalarType | w | ) |
Definition at line 139 of file AACube.hpp.