coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
coal::detail::IntervalTreeNode Class Reference

The node for interval tree. More...

#include <coal/broadphase/detail/interval_tree_node.h>

Collaboration diagram for coal::detail::IntervalTreeNode:

Public Member Functions

 IntervalTreeNode ()
 Create an empty node. More...
 
 IntervalTreeNode (SimpleInterval *new_interval)
 Create an node storing the interval. More...
 
 ~IntervalTreeNode ()
 
void print (IntervalTreeNode *left, IntervalTreeNode *right) const
 Print the interval node information: set left = invalid_node and right = root. More...
 

Protected Attributes

SimpleIntervalstored_interval
 interval stored in the node More...
 
Scalar key
 
Scalar high
 
Scalar max_high
 
bool red
 red or black node: if red = false then the node is black More...
 
IntervalTreeNodeleft
 
IntervalTreeNoderight
 
IntervalTreeNodeparent
 

Friends

class IntervalTree
 

Detailed Description

The node for interval tree.

Constructor & Destructor Documentation

◆ IntervalTreeNode() [1/2]

coal::detail::IntervalTreeNode::IntervalTreeNode ( )

Create an empty node.

◆ IntervalTreeNode() [2/2]

coal::detail::IntervalTreeNode::IntervalTreeNode ( SimpleInterval new_interval)

Create an node storing the interval.

◆ ~IntervalTreeNode()

coal::detail::IntervalTreeNode::~IntervalTreeNode ( )

Member Function Documentation

◆ print()

void coal::detail::IntervalTreeNode::print ( IntervalTreeNode left,
IntervalTreeNode right 
) const

Print the interval node information: set left = invalid_node and right = root.

Friends And Related Function Documentation

◆ IntervalTree

friend class IntervalTree
friend

Member Data Documentation

◆ high

Scalar coal::detail::IntervalTreeNode::high
protected

◆ key

Scalar coal::detail::IntervalTreeNode::key
protected

◆ left

IntervalTreeNode* coal::detail::IntervalTreeNode::left
protected

◆ max_high

Scalar coal::detail::IntervalTreeNode::max_high
protected

◆ parent

IntervalTreeNode* coal::detail::IntervalTreeNode::parent
protected

◆ red

bool coal::detail::IntervalTreeNode::red
protected

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

◆ right

IntervalTreeNode* coal::detail::IntervalTreeNode::right
protected

◆ stored_interval

SimpleInterval* coal::detail::IntervalTreeNode::stored_interval
protected

interval stored in the node


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