Public Member Functions | Protected Attributes | Friends | List of all members
hpp::fcl::detail::IntervalTreeNode Class Reference

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
 
IntervalTreeNodeleft
 
FCL_REAL max_high
 
IntervalTreeNodeparent
 
bool red
 red or black node: if red = false then the node is black More...
 
IntervalTreeNoderight
 
SimpleIntervalstored_interval
 interval stored in the node More...
 

Friends

class IntervalTree
 

Detailed Description

The node for interval tree.

Definition at line 52 of file interval_tree_node.h.

Constructor & Destructor Documentation

◆ IntervalTreeNode() [1/2]

hpp::fcl::detail::IntervalTreeNode::IntervalTreeNode ( )

Create an empty node.

Definition at line 51 of file interval_tree_node-inl.h.

◆ IntervalTreeNode() [2/2]

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.

◆ ~IntervalTreeNode()

hpp::fcl::detail::IntervalTreeNode::~IntervalTreeNode ( )

Definition at line 65 of file interval_tree_node-inl.h.

Member Function Documentation

◆ print()

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.

Friends And Related Function Documentation

◆ IntervalTree

friend class IntervalTree
friend

Definition at line 54 of file interval_tree_node.h.

Member Data Documentation

◆ high

FCL_REAL hpp::fcl::detail::IntervalTreeNode::high
protected

Definition at line 74 of file interval_tree_node.h.

◆ key

FCL_REAL hpp::fcl::detail::IntervalTreeNode::key
protected

Definition at line 72 of file interval_tree_node.h.

◆ left

IntervalTreeNode* hpp::fcl::detail::IntervalTreeNode::left
protected

Definition at line 81 of file interval_tree_node.h.

◆ max_high

FCL_REAL hpp::fcl::detail::IntervalTreeNode::max_high
protected

Definition at line 76 of file interval_tree_node.h.

◆ parent

IntervalTreeNode* hpp::fcl::detail::IntervalTreeNode::parent
protected

Definition at line 85 of file interval_tree_node.h.

◆ red

bool hpp::fcl::detail::IntervalTreeNode::red
protected

red or black node: if red = false then the node is black

Definition at line 79 of file interval_tree_node.h.

◆ right

IntervalTreeNode* hpp::fcl::detail::IntervalTreeNode::right
protected

Definition at line 83 of file interval_tree_node.h.

◆ stored_interval

SimpleInterval* hpp::fcl::detail::IntervalTreeNode::stored_interval
protected

interval stored in the node

Definition at line 70 of file interval_tree_node.h.


The documentation for this class was generated from the following files:


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03