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 = nil and right = root. More... | |
~IntervalTreeNode () | |
Protected Attributes | |
FCL_REAL | high |
FCL_REAL | key |
IntervalTreeNode * | left |
FCL_REAL | 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 52 of file interval_tree_node.h.
hpp::fcl::detail::IntervalTreeNode::IntervalTreeNode | ( | ) |
Create an empty node.
Definition at line 51 of file interval_tree_node-inl.h.
hpp::fcl::detail::IntervalTreeNode::IntervalTreeNode | ( | SimpleInterval * | new_interval | ) |
Create an node storing the interval.
Definition at line 56 of file interval_tree_node-inl.h.
hpp::fcl::detail::IntervalTreeNode::~IntervalTreeNode | ( | ) |
Definition at line 65 of file interval_tree_node-inl.h.
void hpp::fcl::detail::IntervalTreeNode::print | ( | IntervalTreeNode * | left, |
IntervalTreeNode * | right | ||
) | const |
Print the interval node information: set left = nil and right = root.
Definition at line 70 of file interval_tree_node-inl.h.
|
friend |
Definition at line 54 of file interval_tree_node.h.
|
protected |
Definition at line 74 of file interval_tree_node.h.
|
protected |
Definition at line 72 of file interval_tree_node.h.
|
protected |
Definition at line 81 of file interval_tree_node.h.
|
protected |
Definition at line 76 of file interval_tree_node.h.
|
protected |
Definition at line 85 of file interval_tree_node.h.
|
protected |
red or black node: if red = false then the node is black
Definition at line 79 of file interval_tree_node.h.
|
protected |
Definition at line 83 of file interval_tree_node.h.
|
protected |
interval stored in the node
Definition at line 70 of file interval_tree_node.h.