Box Class Reference

#include <box.h>

List of all members.

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)


Constructor & Destructor Documentation

Box::Box ( int  a,
int  b,
int  c 
) [inline]


Member Function Documentation

void Box::printBox ( double const &  min_x,
double const &  min_y,
double const &  min_z 
) const

Print Box identifiers.

Parameters:
[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.

Parameters:
[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.

Parameters:
[in] index Index of box in x direction.
Returns:
Negative x limiting extent of all geometry in the world.

double Box::xmax ( double const &  index  )  const [inline]

Get the limiting extent in the positive x direction of all geometry in the world.

Parameters:
[in] index Index of box in x direction.
Returns:
Positive x limiting extent of all geometry in the world.

double Box::ymin ( double const &  index  )  const [inline]

Get the limiting extent in the negative y direction of all geometry in the world.

Parameters:
[in] index Index of box in y direction.
Returns:
Negative y limiting extent of all geometry in the world.

double Box::ymax ( double const &  index  )  const [inline]

Get the limiting extent in the positive y direction of all geometry in the world.

Parameters:
[in] index Index of box in y direction.
Returns:
Positive y limiting extent of all geometry in the world.

double Box::zmin ( double const &  index  )  const [inline]

Get the limiting extent in the negative z direction of all geometry in the world.

Parameters:
[in] index Index of box in z direction.
Returns:
Negative z limiting extent of all geometry in the world.

double Box::zmax ( double const &  index  )  const [inline]

Get the limiting extent in the positive z direction of all geometry in the world.

Parameters:
[in] index Index of box in z direction.
Returns:
Positive z limiting extent of all geometry in the world.

fp_cit Box::begin ( void   )  const [inline]

Get an iterator pointing to the first in the collection of faces that intersect this Box.

Returns:
Iterator pointing to the first interecting face.

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.

Returns:
Iterator pointing to one past the last interecting face.

int Box::getNumFaces ( void   )  const [inline]

Get the number faces that intersect this box.

Returns:
The number of 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.

Parameters:
[in] face Face to add.

void Box::clearFaces ( void   )  [inline]

Remove all faces from collection of faces that intersect this box.


The documentation for this class was generated from the following files:
Generated on Sun Aug 3 14:17:30 2008 for meshmorph by  doxygen 1.5.1