| 136 | this->RightMin = b[1]; |
| 137 | } |
| 138 | void SetChildren(const T& left) |
| 139 | { |
| 140 | // In index 2 LSBs (Least Significant Bits) store the dimension. MSBs store the position |
| 141 | this->Index = this->GetDimension() | (left << 2); |
| 142 | } |
| 143 | bool IsNode() const |
| 144 | { |
| 145 | return (this->Index & 3) != 3; // For a leaf 2 LSBs in index is 3 |