|
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 15 of file AACube.hpp.
Definition at line 21 of file AACube.hpp.
Definition at line 27 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 170 of file AACube.hpp.
AACube< Point >::ScalarType Distance | ( | const PointType & | p | ) | const |
Definition at line 187 of file AACube.hpp.
void DividingPlane | ( | unsigned int | axis, |
Point * | n, | ||
ScalarType * | d | ||
) | const |
Definition at line 33 of file AACube.hpp.
void DividingPlane | ( | unsigned int | axis, |
ScalarType * | s | ||
) |
Definition at line 45 of file AACube.hpp.
void Inflate | ( | ScalarType | v | ) |
Definition at line 176 of file AACube.hpp.
bool IsInside | ( | const Point & | p | ) | const |
Definition at line 119 of file AACube.hpp.
Definition at line 91 of file AACube.hpp.
const Point & LeftBottomBack |
Definition at line 143 of file AACube.hpp.
void LeftBottomBack | ( | const Point & | lbb | ) |
Definition at line 149 of file AACube.hpp.
|
inline |
|
inline |
Point operator[] | ( | int | index | ) | const |
Definition at line 155 of file AACube.hpp.
void Scale | ( | ScalarType | s | ) |
Definition at line 242 of file AACube.hpp.
AACube< Point >::ScalarType SqrDistance | ( | const PointType & | p | ) | const |
Definition at line 212 of file AACube.hpp.
void Translate | ( | const PointType & | t | ) |
Definition at line 236 of file AACube.hpp.
AACube< Point >::ScalarType Width |
void Width | ( | ScalarType | w | ) |
Definition at line 137 of file AACube.hpp.