The Original CHomP Software
|
This is a helper class for iterating all the boxes which share a given vertex. More...
#include <mwsubdiv.h>
Public Member Functions | |
mwBoxes (const tCubeFix< dim, coord > &q) | |
The only constructor allowed. More... | |
~mwBoxes () | |
The destructor. More... | |
tCubeFix< dim, coord > | get () |
Returns the next available box or throws an error message if all the boxes have already been taken. More... | |
bool | available () const |
Returns true iff there is at least one more box available. More... | |
Private Member Functions | |
mwBoxes (const mwBoxes< dim, coord > &) | |
The copy constructor is not allowed. More... | |
mwBoxes< dim, coord > & | operator= (const mwBoxes< dim, coord > &) |
The assignment operator is not allowed. More... | |
Private Attributes | |
coord | left [dim] |
The coordinates of the leftmost corner of the iterated area. More... | |
coord | right [dim] |
The coordinates of the rightmost corner of the iterated area. More... | |
tRectangle< coord > | rect |
The actual box iterator. More... | |
const coord * | next |
The next coordinates to return or 0 if none. More... | |
This is a helper class for iterating all the boxes which share a given vertex.
Definition at line 330 of file mwsubdiv.h.
|
inline |
The only constructor allowed.
Definition at line 370 of file mwsubdiv.h.
|
inline |
The destructor.
Definition at line 397 of file mwsubdiv.h.
|
inlineprivate |
The copy constructor is not allowed.
Definition at line 384 of file mwsubdiv.h.
|
inline |
Returns true iff there is at least one more box available.
Definition at line 411 of file mwsubdiv.h.
|
inline |
Returns the next available box or throws an error message if all the boxes have already been taken.
Definition at line 403 of file mwsubdiv.h.
|
inlineprivate |
The assignment operator is not allowed.
Definition at line 390 of file mwsubdiv.h.
|
private |
The coordinates of the leftmost corner of the iterated area.
Definition at line 354 of file mwsubdiv.h.
|
private |
The next coordinates to return or 0 if none.
Definition at line 363 of file mwsubdiv.h.
|
private |
The actual box iterator.
Definition at line 360 of file mwsubdiv.h.
|
private |
The coordinates of the rightmost corner of the iterated area.
Definition at line 357 of file mwsubdiv.h.