#include <dist.h>
Public Types | |
| typedef T | ElementType |
| typedef bool | is_kdtree_distance |
| typedef Accumulator< T >::Type | ResultType |
Public Member Functions | |
| template<typename U , typename V > | |
| ResultType | accum_dist (const U &a, const V &b, int) const |
| template<typename Iterator1 , typename Iterator2 > | |
| ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=-1) const |
Squared Euclidean distance functor.
This is the simpler, unrolled version. This is preferable for very low dimensionality data (eg 3D points)
| typedef T rtflann::L2_Simple< T >::ElementType |
| typedef bool rtflann::L2_Simple< T >::is_kdtree_distance |
| typedef Accumulator<T>::Type rtflann::L2_Simple< T >::ResultType |
| ResultType rtflann::L2_Simple< T >::accum_dist | ( | const U & | a, |
| const V & | b, | ||
| int | |||
| ) | const [inline] |
| ResultType rtflann::L2_Simple< T >::operator() | ( | Iterator1 | a, |
| Iterator2 | b, | ||
| size_t | size, | ||
| ResultType | = -1 |
||
| ) | const [inline] |