72 inline unsigned char depth()
const
114 unsigned int child(
unsigned int i_child)
const
unsigned int leaf_end() const
unsigned int child(unsigned int i_child) const
Return index of child node.
void set_non_leaf(unsigned int left, unsigned int right, unsigned int axis)
void set_depth(unsigned int depth)
static const unsigned char dimension
count of dimensions
#define ASSERT_LESS(a, b)
unsigned int child_[child_count]
child nodes indexes
unsigned char depth() const
return depth of leaf node
unsigned int leaf_size() const
unsigned int axis() const
return axes (coordination of splitting) of inner node
static const unsigned int child_count
count of subareas - don't change
bool is_leaf() const
return true if node is leaf
void set_leaf(unsigned int begin, unsigned int end, double bound, unsigned int depth)
unsigned int leaf_begin() const