Overture
Version 25
|
#include <GeometricADT3dInt.h>
Public Types | |
enum | LeftRightEnum { ADT_LEFT = 0, ADT_RIGHT = 1 } |
typedef __ADTType | ADTType |
typedef GeometricADTIterator3dInt | iterator |
typedef GeometricADTTraversor3dInt | traversor |
Public Member Functions | |
GeometricADT3dInt (int rangeDimension_=2) | |
GeometricADT3dInt (int rangeDimension_, const real *boundingBox_) | |
~GeometricADT3dInt () | |
void | initTree () |
void | initTree (int rangeDimension_, const real *boundingBox_) |
int | addElement (const real *bBox, int &data) |
int | delElement (GeometricADT3dInt::iterator &delItem) |
void | verifyTree () |
Protected Member Functions | |
int | getSplitAxis (int depth) const |
Real | getSplitLocation (int axis, const real *box) const |
void | shiftTreeUp (GeometricADT3dInt::ADTType *node, int depth) |
void | verifyNode (GeometricADT3dInt::ADTType &node, int depth) |
int | insert (GeometricADT3dInt::iterator &insParent, int leaf, GeomADTTuple3dInt &data) |
int | insert (GeometricADT3dInt::iterator &insParent, int leaf) |
Friends | |
class | GeometricADTIterator3dInt |
class | GeometricADTTraversor3dInt |
typedef __ADTType GeometricADT3dInt::ADTType |
GeometricADT3dInt::GeometricADT3dInt | ( | int | rangeDimension_ = 2 | ) |
GeometricADT3dInt::GeometricADT3dInt | ( | int | rangeDimension_, |
const real * | boundingBox_ | ||
) |
int GeometricADT3dInt::addElement | ( | const real * | bBox, |
int & | data | ||
) |
int GeometricADT3dInt::delElement | ( | GeometricADT3dInt::iterator & | delItem | ) |
References depth, GeometricADTIterator3dInt::getDepth(), and NULL.
|
inlineprotected |
References assert.
Referenced by GeometricADTIterator3dInt::operator++().
Referenced by GeometricADTIterator3dInt::operator++().
void GeometricADT3dInt::initTree | ( | ) |
References AssertException(), boundingBox, debug_GeometricADT3dInt, and NULL.
void GeometricADT3dInt::initTree | ( | int | rangeDimension_, |
const real * | boundingBox_ | ||
) |
References boundingBox.
|
protected |
References NTreeNodeError::debug_print().
|
protected |
|
protected |
References ADT_LEFT, ADT_RIGHT, AssertException(), debug_GeometricADT3dInt, and NULL.
|
protected |
References ADT_LEFT, ADT_RIGHT, AssertException(), and boundingBox.
void GeometricADT3dInt::verifyTree | ( | ) |
References NULL.
|
friend |
|
friend |