The node for interval tree. More...
#include <interval_tree_node.h>
Public Member Functions | |
IntervalTreeNode () | |
Create an empty node. More... | |
IntervalTreeNode (SimpleInterval *new_interval) | |
Create an node storing the interval. More... | |
void | print (IntervalTreeNode *left, IntervalTreeNode *right) const |
Print the interval node information: set left = invalid_node and right = root. More... | |
~IntervalTreeNode () | |
Protected Attributes | |
CoalScalar | high |
CoalScalar | key |
IntervalTreeNode * | left |
CoalScalar | max_high |
IntervalTreeNode * | parent |
bool | red |
red or black node: if red = false then the node is black More... | |
IntervalTreeNode * | right |
SimpleInterval * | stored_interval |
interval stored in the node More... | |
Friends | |
class | IntervalTree |
The node for interval tree.
Definition at line 51 of file coal/broadphase/detail/interval_tree_node.h.
coal::detail::IntervalTreeNode::IntervalTreeNode | ( | ) |
Create an empty node.
Definition at line 50 of file interval_tree_node-inl.h.
coal::detail::IntervalTreeNode::IntervalTreeNode | ( | SimpleInterval * | new_interval | ) |
Create an node storing the interval.
Definition at line 55 of file interval_tree_node-inl.h.
coal::detail::IntervalTreeNode::~IntervalTreeNode | ( | ) |
Definition at line 64 of file interval_tree_node-inl.h.
void coal::detail::IntervalTreeNode::print | ( | IntervalTreeNode * | left, |
IntervalTreeNode * | right | ||
) | const |
Print the interval node information: set left = invalid_node and right = root.
Definition at line 69 of file interval_tree_node-inl.h.
|
friend |
Definition at line 53 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 73 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 71 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 80 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 75 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 84 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
red or black node: if red = false then the node is black
Definition at line 78 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
Definition at line 82 of file coal/broadphase/detail/interval_tree_node.h.
|
protected |
interval stored in the node
Definition at line 69 of file coal/broadphase/detail/interval_tree_node.h.