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 ( const Geodesic geod)
inlineexplicit

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

Member Function Documentation

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

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

Member Data Documentation

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 Sat May 8 2021 02:51:47