UGDK
0.5.0
|
#include <ugdk/structure/box.h>
Public Types | |
typedef std::array< Coordinate, DIMENSIONS > | Point |
Public Member Functions | |
Box () | |
Box (const Point &min_coordinates, const Point &max_coordinates) | |
virtual | ~Box () |
void | UpdateBox (const Box &) |
bool | IsBelow (int depth, Coordinate boundary) const |
bool | IsAbove (int depth, Coordinate boundary) const |
bool | Contains (const Box &box) const |
bool | Intersects (const Box *box) const |
const Point & | min_coordinates () const |
const Point & | max_coordinates () const |
Protected Attributes | |
Point | min_coordinates_ |
Point | max_coordinates_ |
typedef std::array<Coordinate, DIMENSIONS> ugdk::structure::Box< DIMENSIONS >::Point |
ugdk::structure::Box< DIMENSIONS >::Box | ( | ) |
ugdk::structure::Box< DIMENSIONS >::Box | ( | const Point & | min_coordinates, |
const Point & | max_coordinates | ||
) |
|
virtual |
bool ugdk::structure::Box< DIMENSIONS >::Contains | ( | const Box< DIMENSIONS > & | box | ) | const |
bool ugdk::structure::Box< DIMENSIONS >::Intersects | ( | const Box< DIMENSIONS > * | box | ) | const |
bool ugdk::structure::Box< DIMENSIONS >::IsAbove | ( | int | depth, |
Coordinate | boundary | ||
) | const |
bool ugdk::structure::Box< DIMENSIONS >::IsBelow | ( | int | depth, |
Coordinate | boundary | ||
) | const |
const Box< DIMENSIONS >::Point & ugdk::structure::Box< DIMENSIONS >::max_coordinates | ( | ) | const |
const Box< DIMENSIONS >::Point & ugdk::structure::Box< DIMENSIONS >::min_coordinates | ( | ) | const |
void ugdk::structure::Box< DIMENSIONS >::UpdateBox | ( | const Box< DIMENSIONS > & | box | ) |
|
protected |
|
protected |