cheshirekow
v0.1.0
|
provides euclidean distance computation More...
#include <mpblocks/kd_tree/euclidean/Distance.h>
Public Types | |
typedef Traits::Format_t | Format_t |
typedef HyperRect< Traits > | Hyper_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Point_t |
Public Member Functions | |
Format_t | operator() (const Point_t &pa, const Point_t &pb) |
return the euclidean distance between two points More... | |
Format_t | operator() (const Point_t &p, const Hyper_t &h) |
return the euclidean distance between a point and hyper rectangle More... | |
provides euclidean distance computation
Definition at line 38 of file Distance.h.
typedef Traits::Format_t mpblocks::kd_tree::euclidean::Distance< Traits >::Format_t |
Definition at line 41 of file Distance.h.
typedef HyperRect<Traits> mpblocks::kd_tree::euclidean::Distance< Traits >::Hyper_t |
Definition at line 43 of file Distance.h.
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::euclidean::Distance< Traits >::Point_t |
Definition at line 42 of file Distance.h.
Traits::Format_t mpblocks::kd_tree::euclidean::Distance< Traits >::operator() | ( | const Point_t & | pa, |
const Point_t & | pb | ||
) |
return the euclidean distance between two points
Definition at line 38 of file Distance.hpp.
Traits::Format_t mpblocks::kd_tree::euclidean::Distance< Traits >::operator() | ( | const Point_t & | p, |
const Hyper_t & | h | ||
) |
return the euclidean distance between a point and hyper rectangle
Definition at line 45 of file Distance.hpp.