Commit 530141f4 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

DOC: fix typo and add more documentation for WGS84Ellipsoid

parent 48f8f64e
Pipeline #9257 passed with stages
in 124 minutes and 38 seconds
......@@ -78,16 +78,20 @@ namespace Projection
{
/** \struct WGS84Ellipsoid
*
* \brief a structure holding the ellpsoid parameters for WGS84
* \brief a structure holding the ellipsoid parameters for WGS84
*
* \ingroup OTBTransform
*
*/
struct WGS84Ellipsoid
{
/** Semi-major axis a */
static constexpr double a = 6378137.;
/** Semi-major axis b */
static constexpr double b = 6356752.314245;
/** flattening */
static constexpr double f = (a - b) / a;
/** first eccentricity squared */
static constexpr double es = 1 - (b * b) / (a * a);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment