#include <Boctree.h>
Public Member Functions | |
bitunion () | |
bitunion (bitoct b) | |
bitunion (pointrep *p) | |
bool | childIsLeaf (unsigned char index) |
bitunion< T > * | getChild (unsigned char index) const |
unsigned int | getLength () const |
Leaf node: length in the array. More... | |
pointrep * | getPointreps () const |
Leaf node: all points. More... | |
T * | getPoints () const |
Leaf node: points in the array. More... | |
bool | isValid (unsigned char index) |
Static Public Member Functions | |
static void | link (bitunion< T > *leaf, pointrep *points) |
Leaf node: links a pointrep array [length+values] to this union, saved as an offset pointer. More... | |
Public Attributes | |
bitoct | node |
pointrep * | points |
This union combines an octree node with a pointer to a set of points. This allows us to use both nodes and leaves interchangeably.
points is a pointer to the point representation in use
node is simply the octree node
|
inline |
|
inline |
|
inline |
|
inline |