CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
KDTreeNodeInfo< DATA > Struct Template Reference

#include <KDTreeLinkerTools.h>

Public Types

enum  { kDim1 = 0, kDim2 = 1 }
 

Public Member Functions

 KDTreeNodeInfo ()
 
 KDTreeNodeInfo (const DATA &d, float dim_1, float dim_2)
 

Public Attributes

DATA data
 
float dim [2]
 

Detailed Description

template<typename DATA>
struct KDTreeNodeInfo< DATA >

Definition at line 26 of file KDTreeLinkerTools.h.

Member Enumeration Documentation

template<typename DATA>
anonymous enum
Enumerator
kDim1 
kDim2 

Definition at line 29 of file KDTreeLinkerTools.h.

Constructor & Destructor Documentation

template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( )
inline

Definition at line 32 of file KDTreeLinkerTools.h.

32 {}
template<typename DATA>
KDTreeNodeInfo< DATA >::KDTreeNodeInfo ( const DATA &  d,
float  dim_1,
float  dim_2 
)
inline

Definition at line 34 of file KDTreeLinkerTools.h.

34 : data(d), dim{dim_1, dim_2} {}

Member Data Documentation

template<typename DATA>
DATA KDTreeNodeInfo< DATA >::data
template<typename DATA>
float KDTreeNodeInfo< DATA >::dim[2]