cheshirekow
v0.1.0
|
an NDim dimensional hyperrectangle, represented as a min and max extent More...
#include <mpblocks/kd_tree/euclidean/HyperRect.h>
Public Types | |
typedef Traits::Format_t | Format_t |
typedef Vector_t | Point_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Vector_t |
Public Member Functions | |
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) More... | |
HyperRect () | |
initialize min and max ext to be 0,0,... More... | |
Format_t | measure () |
return the measure of the hypercube More... | |
Public Attributes | |
Point_t | maxExt |
maximum extent of hyper-rectangle More... | |
Point_t | minExt |
minimum extent of hyper-rectangle More... | |
an NDim dimensional hyperrectangle, represented as a min and max extent
implemented by storing the minimum and maximum extent of the hyper-rectangle in all dimensions
Definition at line 23 of file HyperRect.h.
typedef Traits::Format_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::Format_t |
Definition at line 25 of file HyperRect.h.
typedef Vector_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::Point_t |
Definition at line 27 of file HyperRect.h.
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::euclidean::HyperRect< Traits >::Vector_t |
Definition at line 26 of file HyperRect.h.
mpblocks::kd_tree::euclidean::HyperRect< Traits >::HyperRect | ( | ) |
initialize min and max ext to be 0,0,...
Definition at line 20 of file HyperRect.hpp.
Traits::Format_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::dist2 | ( | const Point_t & | point | ) |
find the nearest point in the hyper-rectangle to the query point and return it's distance (squared)
Definition at line 32 of file HyperRect.hpp.
Traits::Format_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::measure | ( | ) |
return the measure of the hypercube
Definition at line 57 of file HyperRect.hpp.
Point_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::maxExt |
maximum extent of hyper-rectangle
Definition at line 30 of file HyperRect.h.
Point_t mpblocks::kd_tree::euclidean::HyperRect< Traits >::minExt |
minimum extent of hyper-rectangle
Definition at line 29 of file HyperRect.h.