27 #ifndef MPBLOCKS_KD_TREE_EUCLIDEAN_DISTANCE_H_
28 #define MPBLOCKS_KD_TREE_EUCLIDEAN_DISTANCE_H_
37 template <
class Traits>
42 typedef Eigen::Matrix<Format_t,Traits::NDim,1>
Point_t;
61 #endif // DEFAULTDISTANCE_H_
provides euclidean distance computation
Traits::Format_t Format_t
Format_t operator()(const Point_t &pa, const Point_t &pb)
return the euclidean distance between two points
Eigen::Matrix< Format_t, Traits::NDim, 1 > Point_t
double Format_t
number format (i.e. double, float)
an NDim dimensional hyperrectangle, represented as a min and max extent
HyperRect< Traits > Hyper_t