27 #ifndef MPBLOCKS_KD_TREE_EUCLIDEAN_BLOCKS_NEAREST_H_
28 #define MPBLOCKS_KD_TREE_EUCLIDEAN_BLOCKS_NEAREST_H_
36 template <
class Traits>
43 typedef Eigen::Matrix<Format_t,Traits::NDim,1>
Point_t;
93 #endif // NEARESTNEIGHBOR_H_
Traits::Format_t Format_t
sigc::signal< void, Node_t * > sig_result
void findNearest(const Point_t &q, NNIface_t &search)
generic NN search, specific search depends on the implementing class of the NNIface ...
void setTree(Tree_t *tree)
void search(const Point_t &q)
void reset(Format_t inf=std::numeric_limits< Format_t >::max())
the node class must be defined in traits since it uses the CTRP, it must derive from kd_tree::Node<Tr...
provides a search algorithm for finding the nearest point in the kd tree to some query point...
sigc::slot< void, const Point_t & > slot_search()
Eigen::Matrix< Format_t, Traits::NDim, 1 > Point_t
double Format_t
number format (i.e. double, float)
euclidean::Nearest< Traits > Search_t