18 #ifndef _SEUTILS_KDTREE_H_
19 #define _SEUTILS_KDTREE_H_
29 static double getCoord(
const T& t,
size_t index);
41 template<
typename T,
size_t N=2,
size_t S=100>
A simple N-dimensional KdTree for speeding-up elements within range types of queries.
KdTree(const std::vector< T > &data)
std::shared_ptr< Node > m_root
std::vector< T > findPointsWithinRadius(Coord coord, double radius) const
static double getCoord(const T &t, size_t index)