Auxiliary structure to traverse the octree. More...
#include <ptr_octree.h>
Public Member Functions | |
geom_cell (PtrOctree::cell *cell_=NULL, real cx_=0.5, real cy_=0.5, real cz_=0.5, Level lv_=0) | |
Default constructor: Constructs an iterator from a cell. | |
~geom_cell () | |
Destructor. | |
geom_cell (const geom_cell &i) | |
Copy constructor. | |
geom_cell & | operator= (const geom_cell &i) |
Assignment operator. | |
const PtrOctree::cell * | cell () const |
cell const accessor | |
PtrOctree::cell *& | cell () |
cell accessor | |
const PtrOctree::cell * | first_son () const |
first son const accessor | |
PtrOctree::cell *& | first_son () |
first son accessor | |
const PtrOctree::cell * | brother () const |
brother const accessor | |
PtrOctree::cell *& | brother () |
brother accessor | |
real | operator* () const |
id const accessor | |
real & | operator* () |
id accessor | |
bool | operator== (const geom_cell &i) const |
equality operator | |
bool | operator!= (const geom_cell &i) const |
inequality operator | |
bool | is_leaf () const |
leaf test | |
bool | operator() () const |
validation operator | |
bool | sons (geom_cell *s) |
sons | |
bool | son (int i, geom_cell &s) |
get son from side i | |
Protected Attributes | |
PtrOctree::cell * | _cell |
octree cell | |
Friends | |
class | PtrOctree |
Auxiliary structure to traverse the octree.