Public Member Functions | Private Attributes | List of all members
DistanceCalculator Class Reference

Public Member Functions

 DistanceCalculator (const Geodesic &geod)
 
double operator() (const pos &a, const pos &b) const
 

Private Attributes

Geodesic _geod
 

Detailed Description

Definition at line 38 of file example-NearestNeighbor.cpp.

Constructor & Destructor Documentation

◆ DistanceCalculator()

DistanceCalculator::DistanceCalculator ( const Geodesic geod)
inlineexplicit

Definition at line 42 of file example-NearestNeighbor.cpp.

Member Function Documentation

◆ operator()()

double DistanceCalculator::operator() ( const pos a,
const pos b 
) const
inline

Definition at line 43 of file example-NearestNeighbor.cpp.

Member Data Documentation

◆ _geod

Geodesic DistanceCalculator::_geod
private

Definition at line 40 of file example-NearestNeighbor.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:02