The Original CHomP Software
|
This is a helper class for iterating all the corners of a given box. More...
#include <mwsubdiv.h>
Public Member Functions | |
mwCorners (const tCubeFix< dim, coord > &q) | |
The only constructor allowed. More... | |
~mwCorners () | |
The destructor. More... | |
tCubeFix< dim, coord > | get () |
Returns the next available corner or throws an error message if all the corners have already been taken. More... | |
bool | available () const |
Returns true iff there is at least one more box available. More... | |
Private Member Functions | |
mwCorners (const mwCorners< dim, coord > &) | |
The copy constructor is not allowed. More... | |
mwCorners< dim, coord > & | operator= (const mwCorners< 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 corner iterator. More... | |
const coord * | next |
The next coordinates to return or 0 if none. More... | |
This is a helper class for iterating all the corners of a given box.
Definition at line 424 of file mwsubdiv.h.
|
inline |
The only constructor allowed.
Definition at line 464 of file mwsubdiv.h.
|
inline |
The destructor.
Definition at line 490 of file mwsubdiv.h.
|
inlineprivate |
The copy constructor is not allowed.
Definition at line 477 of file mwsubdiv.h.
|
inline |
Returns true iff there is at least one more box available.
Definition at line 504 of file mwsubdiv.h.
|
inline |
Returns the next available corner or throws an error message if all the corners have already been taken.
Definition at line 496 of file mwsubdiv.h.
|
inlineprivate |
The assignment operator is not allowed.
Definition at line 483 of file mwsubdiv.h.
|
private |
The coordinates of the leftmost corner of the iterated area.
Definition at line 448 of file mwsubdiv.h.
|
private |
The next coordinates to return or 0 if none.
Definition at line 457 of file mwsubdiv.h.
|
private |
The actual corner iterator.
Definition at line 454 of file mwsubdiv.h.
|
private |
The coordinates of the rightmost corner of the iterated area.
Definition at line 451 of file mwsubdiv.h.