DUNE: Uniform Navigational Environment  2019.02.1
Simulators::Environment::Node Struct Reference

Public Member Functions

 Node (const QuadTree::Item &item)
 
 ~Node (void)
 
void insert (const QuadTree::Item &item, Bounds &b)
 
bool isLeaf (void) const
 
bool remove (const Bounds &area, const Bounds &b)
 
void iterate (QuadTree::Iteration &iter, const Bounds &area, const Bounds &b) const
 

Public Attributes

union {
   QuadTree::Item   item
 
   Node *   children [4]
 
m_data
 
bool m_leaf
 

Constructor & Destructor Documentation

Simulators::Environment::Node::Node ( const QuadTree::Item item)
inline

References item, and m_data.

Referenced by insert().

Simulators::Environment::Node::~Node ( void  )
inline

References m_data.

Member Function Documentation

void Simulators::Environment::Node::insert ( const QuadTree::Item item,
Bounds b 
)
inline
bool Simulators::Environment::Node::isLeaf ( void  ) const
inline

References m_leaf.

Member Data Documentation

Node* Simulators::Environment::Node::children[4]
QuadTree::Item Simulators::Environment::Node::item

Referenced by Node().

union { ... } Simulators::Environment::Node::m_data

Referenced by insert(), iterate(), Node(), remove(), and ~Node().

bool Simulators::Environment::Node::m_leaf

Referenced by isLeaf().

Collaboration diagram for Simulators::Environment::Node:
Collaboration graph