Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
530141f4
Commit
530141f4
authored
Dec 03, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Modules/Core/Transform/include/otbGeocentricTransform.h
View file @
530141f4
...
...
@@ -78,16 +78,20 @@ namespace Projection
{
/** \struct WGS84Ellipsoid
*
* \brief a structure holding the ellpsoid parameters for WGS84
* \brief a structure holding the ell
i
psoid 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
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment