|
template<class TIterator > |
void | create_tree (TIterator elemsBegin, TIterator elemsEnd) |
|
| lg_ntree () |
|
| lg_ntree (Grid &grid, position_attachment_t aPos) |
|
void | set_grid (Grid &grid, position_attachment_t aPos) |
|
void | add_element (const elem_t &elem) |
| adds an element to the tree.
|
|
const box_t & | bounding_box (size_t nodeId) const |
| returns the smallest box which contains all elements of the given node
|
|
const size_t * | child_node_ids (size_t nodeId) const |
| returns an array of child-id's for the given node
|
|
void | clear () |
|
const common_data_t & | common_data () const |
| returns the common-data stored in the tree
|
|
const NTreeDesc & | desc () const |
| returns the balancing-parameters of the tree.
|
|
elem_iterator_t | elems_begin (size_t nodeId) const |
| returns an iterator to the first element of a given node
|
|
elem_iterator_t | elems_end (size_t nodeId) const |
| returns an iterator to the end of the element-sequence of a given node
|
|
bool | empty () const |
| returns true if the tree is empty
|
|
void | enable_warnings (bool enable) |
| enabled or disable warning messages
|
|
size_t | level (size_t nodeId) const |
| returns the number tree-level in which the node is located
|
|
| ntree () |
|
size_t | num_child_nodes (size_t nodeId) const |
| returns the number of children of a node
|
|
size_t | num_delayed_elements () const |
| returns the number of elements which have been added but are not yet accessible in the tree.
|
|
size_t | num_elements (size_t nodeId) const |
| returns the number of elements that the given node contains
|
|
size_t | num_nodes () const |
| returns the total number of nodes in the tree
|
|
void | rebalance () |
| rebalances the whole tree
|
|
void | set_common_data (const common_data_t &commonData) |
| sets the common-data which the tree passes on to callback methods
|
|
void | set_desc (const NTreeDesc &desc) |
| sets the balancing-parameters of the tree.
|
|
size_t | size () const |
| returns the number of entries in the tree (delayed entries excluded)
|
|
bool | warnings_enabled () const |
|