1 #ifndef KDTreeLinkerToolsTemplated_h
2 #define KDTreeLinkerToolsTemplated_h
10 template<
unsigned DIM>
15 template<
typename... Ts>
17 static_assert(
sizeof...(dimargs) == 2*
DIM,
"Constructor requires 2*DIM args");
18 std::vector<float> dims = {dimargs...};
19 for(
unsigned i = 0;
i <
DIM; ++
i ) {
35 template<
typename DATA,
unsigned DIM>
39 std::array<float,DIM>
dims;
45 template<
typename... Ts>
49 template<
typename... Ts>
56 template <
typename DATA,
unsigned DIM>
KDTreeNodeT< DATA, DIM > * right
KDTreeNodeT< DATA, DIM > * left
std::array< float, DIM > dimmin
bool operator>(View< T > const &, View< T > const &)
std::array< float, DIM > dims
void setAttributs(const KDTreeBoxT< DIM > ®ionBox)
KDTreeNodeInfoT< DATA, DIM > info
std::array< float, DIM > dimmax
void setAttributs(const KDTreeBoxT< DIM > ®ionBox, const KDTreeNodeInfoT< DATA, DIM > &infoToStore)
KDTreeNodeInfoT(const DATA &d, Ts...dimargs)