21 #ifndef otbGeocentricTransform_h
22 #define otbGeocentricTransform_h
36 template <TransformDirection TDirectionOfMapping,
class TScalarType =
double>
61 itkStaticConstMacro(InputSpaceDimension,
unsigned int, 3);
62 itkStaticConstMacro(OutputSpaceDimension,
unsigned int, 3);
63 itkStaticConstMacro(SpaceDimension,
unsigned int, 3);
64 itkStaticConstMacro(ParametersDimension,
unsigned int, 3*(3 + 1));
74 void operator=(
const Self&) =
delete;
86 template <
class TScalarType =
double>
91 static constexpr TScalarType
a = 6378137.;
94 static constexpr TScalarType
b = 6356752.314245;
97 static constexpr TScalarType
f = (
a -
b) /
a;
100 static constexpr TScalarType
es = 1 - (
b *
b) / (
a *
a);
112 template <
class TScalarType =
double,
class TEllipso
id = WGS84Ellipso
id<TScalarType>>
113 itk::Point<TScalarType, 3>
WorldToEcef(
const itk::Point<TScalarType, 3> & worldPoint);
123 template <
class TScalarType =
double,
class TEllipso
id = WGS84Ellipso
id<TScalarType>>
124 itk::Point<TScalarType, 3>
EcefToWorld(
const itk::Point<TScalarType, 3> & ecefPoint);
130 #ifndef OTB_MANUAL_INSTANTIATION