ug4
ug::KDTree< point_t, data_t, real_t >::Element Class Reference

An Element represents a point with an associated data value. More...

#include <kd_tree.h>

Public Attributes

data_t data
 
point_t point
 

Private Attributes

int nextElemInd
 

Friends

class KDTree
 

Detailed Description

template<class point_t, class data_t, class real_t = float>
class ug::KDTree< point_t, data_t, real_t >::Element

An Element represents a point with an associated data value.

Friends And Related Function Documentation

◆ KDTree

template<class point_t , class data_t , class real_t = float>
friend class KDTree
friend

Member Data Documentation

◆ data

template<class point_t , class data_t , class real_t = float>
data_t ug::KDTree< point_t, data_t, real_t >::Element::data

◆ nextElemInd

template<class point_t , class data_t , class real_t = float>
int ug::KDTree< point_t, data_t, real_t >::Element::nextElemInd
private

index into m_elements. -1: no next element. Used to create a linked list for each node.

◆ point

template<class point_t , class data_t , class real_t = float>
point_t ug::KDTree< point_t, data_t, real_t >::Element::point

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