#include <box.h>
Public Member Functions | |
Box (int a, int b, int c) | |
void | printBox (double const &, double const &, double const &) const |
void | removeFace (Face const *const) |
double | xmin (double const &index) const |
double | xmax (double const &index) const |
double | ymin (double const &index) const |
double | ymax (double const &index) const |
double | zmin (double const &index) const |
double | zmax (double const &index) const |
fp_cit | begin (void) const |
fp_cit | end (void) const |
int | getNumFaces (void) const |
void | sortFaces (void) |
void | addFace (Face *const face) |
void | clearFaces (void) |
Box::Box | ( | int | a, | |
int | b, | |||
int | c | |||
) | [inline] |
void Box::printBox | ( | double const & | min_x, | |
double const & | min_y, | |||
double const & | min_z | |||
) | const |
Print Box identifiers.
[in] | min_x | Negative x limiting extent of all geometry in the world. |
[in] | min_y | Negative y limiting extent of all geometry in the world. |
[in] | min_z | Negative z limiting extent of all geometry in the world. |
void Box::removeFace | ( | Face const * const | face | ) |
Remove face from collection of faces that intersect this box.
[in] | face | Face to remove. |
double Box::xmin | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the negative x direction of all geometry in the world.
[in] | index | Index of box in x direction. |
double Box::xmax | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the positive x direction of all geometry in the world.
[in] | index | Index of box in x direction. |
double Box::ymin | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the negative y direction of all geometry in the world.
[in] | index | Index of box in y direction. |
double Box::ymax | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the positive y direction of all geometry in the world.
[in] | index | Index of box in y direction. |
double Box::zmin | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the negative z direction of all geometry in the world.
[in] | index | Index of box in z direction. |
double Box::zmax | ( | double const & | index | ) | const [inline] |
Get the limiting extent in the positive z direction of all geometry in the world.
[in] | index | Index of box in z direction. |
fp_cit Box::begin | ( | void | ) | const [inline] |
Get an iterator pointing to the first in the collection of faces that intersect this Box.
fp_cit Box::end | ( | void | ) | const [inline] |
Get an iterator pointing to one past the last face in the collection of faces that intersect this Box.
int Box::getNumFaces | ( | void | ) | const [inline] |
Get the number faces that intersect this box.
void Box::sortFaces | ( | void | ) | [inline] |
Sort the collection of faces that intersect this box.
void Box::addFace | ( | Face *const | face | ) | [inline] |
Add face to collection of faces that intersect this box.
[in] | face | Face to add. |
void Box::clearFaces | ( | void | ) | [inline] |
Remove all faces from collection of faces that intersect this box.