aimstil  5.0.5
til::KDTree< TIndex, TContainer > Class Template Reference

#include <cathier/kdtree.h>

Inheritance diagram for til::KDTree< TIndex, TContainer >:
Collaboration diagram for til::KDTree< TIndex, TContainer >:

Public Types

enum  { LEFT = 0, RIGHT }
 
typedef KDTree< TIndex, TContainer > Self
 
typedef void Base
 
typedef TContainer Collection
 

Public Member Functions

 KDTree ()
 
template<typename T_Container >
 KDTree (const T_Container &c)
 
- Public Member Functions inherited from til::NaryTree< KDNode< TIndex >, 2 >
 NaryTree ()
 Default constructor builds an emtpy tree. More...
 
 ~NaryTree ()
 Destructor. More...
 
std::size_t size () const
 
const_iterator root () const
 Return a const iterator on the root element of the tree. More...
 
iterator root ()
 Return a non_const iterator on the root element of the tree. More...
 
iterator addChild (Node *parent, std::size_t childNumber, KDNode< TIndex > value=KDNode< TIndex >())
 Add a child to a node. More...
 
iterator addChild (iterator &parent, std::size_t childNumber, KDNode< TIndex > value=KDNode< TIndex >())
 Add a child to a node. More...
 

Detailed Description

template<typename TIndex, typename TContainer>
class til::KDTree< TIndex, TContainer >

Definition at line 76 of file kdtree.h.

Member Typedef Documentation

◆ Base

template<typename TIndex, typename TContainer>
typedef void til::KDTree< TIndex, TContainer >::Base

Definition at line 84 of file kdtree.h.

◆ Collection

template<typename TIndex, typename TContainer>
typedef TContainer til::KDTree< TIndex, TContainer >::Collection

Definition at line 85 of file kdtree.h.

◆ Self

template<typename TIndex, typename TContainer>
typedef KDTree<TIndex, TContainer> til::KDTree< TIndex, TContainer >::Self

Definition at line 82 of file kdtree.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename TIndex, typename TContainer>
anonymous enum
Enumerator
LEFT 
RIGHT 

Definition at line 89 of file kdtree.h.

Constructor & Destructor Documentation

◆ KDTree() [1/2]

template<typename TIndex, typename TContainer>
til::KDTree< TIndex, TContainer >::KDTree ( )
inline

Definition at line 93 of file kdtree.h.

◆ KDTree() [2/2]

template<typename TIndex, typename TContainer>
template<typename T_Container >
til::KDTree< TIndex, TContainer >::KDTree ( const T_Container &  c)
inline

Definition at line 100 of file kdtree.h.


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