nanoflann
C++ header-only ANN library
 All Classes Functions Variables Typedefs Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
nanoflann::SO3_acosInnerProdQuat_Adaptor< T, DataSource, _DistanceType > Struct Template Reference

#include <nanoflann.hpp>

Public Types

typedef T ElementType
 
typedef _DistanceType DistanceType
 

Public Member Functions

 SO3_acosInnerProdQuat_Adaptor (const DataSource &_data_source)
 
DistanceType evalMetric (const T *a, const size_t b_idx, size_t size) const
 
template<typename U , typename V >
DistanceType accum_dist (const U a, const V b, int) const
 

Public Attributes

const DataSource & data_source
 

Detailed Description

template<class T, class DataSource, typename _DistanceType = T>
struct nanoflann::SO3_acosInnerProdQuat_Adaptor< T, DataSource, _DistanceType >

Cosine inverse of Inner Product of Quaternions distance functor (Reference : Metrics for 3D Rotations: Comparison and Analysis by Du Q. Huynh) Corresponding distance traits: nanoflann::metric_SO3_acosInnerProdQuat

Template Parameters
TType of the elements (e.g. double, float)
_DistanceTypeType of distance variables (must be signed) (e.g. float, double)

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