62 OctreeKey (
unsigned int keyX,
unsigned int keyY,
unsigned int keyZ) :
63 x (keyX),
y (keyY),
z (keyZ)
69 x (source.
x),
y (source.
y),
z (source.
z)
79 return ((b.
x == this->x) && (b.
y == this->y) && (b.
z == this->z));
88 return ((b.
x >= this->x) && (b.
y >= this->y) && (b.
z >= this->z));
97 return ((b.
x <= this->x) && (b.
y <= this->y) && (b.
z <= this->z));
106 this->
x = (this->
x << 1) | (!!(childIndex & (1 << 2)));
107 this->
y = (this->
y << 1) | (!!(childIndex & (1 << 1)));
108 this->
z = (this->
z << 1) | (!!(childIndex & (1 << 0)));
128 return static_cast<unsigned char> (((!!(this->
x & depthMask)) << 2)
129 | ((!!(this->
y & depthMask)) << 1)
130 | (!!(this->
z & depthMask)));