Public Types | Public Member Functions | List of all members
rtflann::MaxDistance< T > Struct Template Reference

#include <dist.h>

Public Types

typedef T ElementType
 
typedef bool is_vector_space_distance
 
typedef Accumulator< T >::Type ResultType
 

Public Member Functions

template<typename Iterator1 , typename Iterator2 >
ResultType operator() (Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist=-1) const
 

Detailed Description

template<class T>
struct rtflann::MaxDistance< T >

Definition at line 316 of file dist.h.

Member Typedef Documentation

template<class T >
typedef T rtflann::MaxDistance< T >::ElementType

Definition at line 320 of file dist.h.

template<class T >
typedef bool rtflann::MaxDistance< T >::is_vector_space_distance

Definition at line 318 of file dist.h.

template<class T >
typedef Accumulator<T>::Type rtflann::MaxDistance< T >::ResultType

Definition at line 321 of file dist.h.

Member Function Documentation

template<class T >
template<typename Iterator1 , typename Iterator2 >
ResultType rtflann::MaxDistance< T >::operator() ( Iterator1  a,
Iterator2  b,
size_t  size,
ResultType  worst_dist = -1 
) const
inline

Compute the max distance (L_infinity) between two vectors.

This distance is not a valid kdtree distance, it's not dimensionwise additive.

Definition at line 329 of file dist.h.


The documentation for this struct was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09