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 344 of file dist.h.

Member Typedef Documentation

◆ ElementType

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

Definition at line 348 of file dist.h.

◆ is_vector_space_distance

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

Definition at line 346 of file dist.h.

◆ ResultType

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

Definition at line 349 of file dist.h.

Member Function Documentation

◆ operator()()

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 357 of file dist.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:29