#include <nanoflann.hpp>
|
typedef T | ElementType |
|
typedef _DistanceType | DistanceType |
|
|
| SO2_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, const size_t) const |
|
|
const DataSource & | data_source |
|
template<class T, class DataSource, typename _DistanceType = T>
struct nanoflann::SO2_Adaptor< T, DataSource, _DistanceType >
SO2 distance functor Corresponding distance traits: nanoflann::metric_SO2
- Template Parameters
-
T | Type of the elements (e.g. double, float) |
_DistanceType | Type of distance variables (must be signed) (e.g. float, double) orientation is constrained to be in [-pi, pi] |
◆ accum_dist()
template<class T , class DataSource , typename _DistanceType = T>
template<typename U , typename V >
DistanceType nanoflann::SO2_Adaptor< T, DataSource, _DistanceType >::accum_dist |
( |
const U |
a, |
|
|
const V |
b, |
|
|
const |
size_t |
|
) |
| const |
|
inline |
Note: this assumes that input angles are already in the range [-pi,pi]
The documentation for this struct was generated from the following file: