9 #ifndef MPBLOCKS_KD_TREE_EUCLIDEAN_HYPERRECT_H_
10 #define MPBLOCKS_KD_TREE_EUCLIDEAN_HYPERRECT_H_
22 template <
class Traits>
26 typedef Eigen::Matrix<Format_t,Traits::NDim,1>
Vector_t;
Point_t maxExt
maximum extent of hyper-rectangle
Eigen::Matrix< Format_t, Traits::NDim, 1 > Vector_t
Traits::Format_t Format_t
Format_t dist2(const Point_t &point)
find the nearest point in the hyper-rectangle to the query point and return it's distance (squared) ...
HyperRect()
initialize min and max ext to be 0,0,...
Format_t measure()
return the measure of the hypercube
double Format_t
number format (i.e. double, float)
Point_t minExt
minimum extent of hyper-rectangle
an NDim dimensional hyperrectangle, represented as a min and max extent