ug4
ug::Traverser_FindContainingElement< tree_t > Class Template Reference

#include <ntree_traverser.h>

Public Types

typedef tree_t::elem_t elem_t
 
typedef tree_t::vector_t vector_t
 

Public Member Functions

void begin_traversal (const tree_t &tree)
 
void end_traversal (const tree_t &)
 
size_t num_elems_checked () const
 
bool result (elem_t &foundElemOut) const
 
 Traverser_FindContainingElement (const vector_t &point)
 
void visit_down (const tree_t &, size_t)
 
int visit_up (const tree_t &tree, size_t node)
 

Private Attributes

elem_t m_elem
 
bool m_foundElem
 
size_t m_numElemsChecked
 
vector_t m_point
 

Member Typedef Documentation

◆ elem_t

template<class tree_t >
typedef tree_t::elem_t ug::Traverser_FindContainingElement< tree_t >::elem_t

◆ vector_t

template<class tree_t >
typedef tree_t::vector_t ug::Traverser_FindContainingElement< tree_t >::vector_t

Constructor & Destructor Documentation

◆ Traverser_FindContainingElement()

template<class tree_t >
ug::Traverser_FindContainingElement< tree_t >::Traverser_FindContainingElement ( const vector_t point)
inline

Member Function Documentation

◆ begin_traversal()

template<class tree_t >
void ug::Traverser_FindContainingElement< tree_t >::begin_traversal ( const tree_t &  tree)
inline

◆ end_traversal()

template<class tree_t >
void ug::Traverser_FindContainingElement< tree_t >::end_traversal ( const tree_t &  )
inline

◆ num_elems_checked()

template<class tree_t >
size_t ug::Traverser_FindContainingElement< tree_t >::num_elems_checked ( ) const
inline

◆ result()

◆ visit_down()

template<class tree_t >
void ug::Traverser_FindContainingElement< tree_t >::visit_down ( const tree_t &  ,
size_t   
)
inline

◆ visit_up()

Member Data Documentation

◆ m_elem

◆ m_foundElem

◆ m_numElemsChecked

◆ m_point

template<class tree_t >
vector_t ug::Traverser_FindContainingElement< tree_t >::m_point
private

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