API Documentation
Loading...
Searching...
No Matches
KDNode< t_dims, t_type > Class Template Reference

#include <KDTree.hpp>

Inheritance diagram for KDNode< t_dims, t_type >:
[legend]
Collaboration diagram for KDNode< t_dims, t_type >:
[legend]

Public Member Functions

void clear (uint04 index_start, const Bounds< t_dims, t_type > &bounds)
 
 KDNode (const KDNode &node)
 
 KDNode (uint04 index_start)
 
uint04 left () const
 
uint04 right () const
 
void setSplit (uint01 split_dim, t_type split)
 
const t_type & split () const
 
const uint01splitDim () const
 
- Public Member Functions inherited from TreeNode
uint04 begin () const
 
uint04 childNodeStart () const
 
void clear (uint04 index_start)
 
uint04 end () const
 
uint04 getChild (uint04 child_number) const
 
bool isLeaf () const
 
void setBegin (uint04 index_start)
 
void setChildNodeStart (uint04 left)
 
void setSize (uint04 bucket_size)
 
uint04 size () const
 
 TreeNode (uint04 index_start)
 

Protected Attributes

t_type m_split
 
uint01 m_split_dim
 
- Protected Attributes inherited from TreeNode
sint04 m_child_start
 
uint04 m_element_size
 

Constructor & Destructor Documentation

◆ KDNode() [1/2]

template<uint01 t_dims, class t_type >
KDNode ( const KDNode< t_dims, t_type > & node)
inline

◆ KDNode() [2/2]

template<uint01 t_dims, class t_type >
KDNode ( uint04 index_start)
inlineexplicit

Member Function Documentation

◆ clear()

template<uint01 t_dims, class t_type >
void clear ( uint04 index_start,
const Bounds< t_dims, t_type > & bounds )
inline

◆ left()

template<uint01 t_dims, class t_type >
uint04 left ( ) const
inline

◆ right()

template<uint01 t_dims, class t_type >
uint04 right ( ) const
inline

◆ setSplit()

template<uint01 t_dims, class t_type >
void setSplit ( uint01 split_dim,
t_type split )
inline

◆ split()

template<uint01 t_dims, class t_type >
const t_type & split ( ) const
inline

◆ splitDim()

template<uint01 t_dims, class t_type >
const uint01 & splitDim ( ) const
inline

Member Data Documentation

◆ m_split

template<uint01 t_dims, class t_type >
t_type m_split
protected

◆ m_split_dim

template<uint01 t_dims, class t_type >
uint01 m_split_dim
protected

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