21 #ifndef otbGeographicalDistance_h
22 #define otbGeographicalDistance_h
24 #include "itkNumericTraits.h"
25 #include "itkDistanceMetric.h"
49 template <
class TVector>
56 typedef itk::Statistics::DistanceMetric<TVector>
Superclass;
71 double Evaluate(
const VectorType& x)
const override;
77 itkSetMacro(EarthRadius,
double);
80 itkGetMacro(EarthRadius,
double);
92 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
104 #ifndef OTB_MANUAL_INSTANTIATION
Compute the metric distance between two geographical points.
itk::SmartPointer< const Self > ConstPointer
itk::Statistics::DistanceMetric< TVector > Superclass
void operator=(const Self &)=delete
GeographicalDistance Self
~GeographicalDistance() override
GeographicalDistance(const Self &)=delete
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.