CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
KDTreeNodeInfo< DATA, DIM > Struct Template Reference

#include <KDTreeLinkerAlgo.h>

Public Member Functions

 KDTreeNodeInfo ()
 
template<typename... Ts>
 KDTreeNodeInfo (const DATA &d, Ts...dimargs)
 

Public Attributes

DATA data
 
std::array< float, DIMdims
 

Detailed Description

template<typename DATA, unsigned DIM = 2>
struct KDTreeNodeInfo< DATA, DIM >

Definition at line 34 of file KDTreeLinkerAlgo.h.

Constructor & Destructor Documentation

template<typename DATA, unsigned DIM = 2>
KDTreeNodeInfo< DATA, DIM >::KDTreeNodeInfo ( )
inline

Definition at line 39 of file KDTreeLinkerAlgo.h.

39 {}
template<typename DATA, unsigned DIM = 2>
template<typename... Ts>
KDTreeNodeInfo< DATA, DIM >::KDTreeNodeInfo ( const DATA &  d,
Ts...  dimargs 
)
inline

Definition at line 42 of file KDTreeLinkerAlgo.h.

42 : data(d), dims{{dimargs...}} {}
tuple d
Definition: ztail.py:151
std::array< float, DIM > dims

Member Data Documentation

template<typename DATA, unsigned DIM = 2>
DATA KDTreeNodeInfo< DATA, DIM >::data
template<typename DATA, unsigned DIM = 2>
std::array<float, DIM> KDTreeNodeInfo< DATA, DIM >::dims