10#if !defined(GEOGRAPHICLIB_ELLIPSOID_HPP)
11#define GEOGRAPHICLIB_ELLIPSOID_HPP 1
42 static const int numit_ = 10;
44 real _a, _f, _f1, _f12, _e2, _es, _e12, _n, _b;
52 const Math::real* ConformalToRectifyingCoeffs()
const {
return _tm._alp; }
53 const Math::real* RectifyingToConformalCoeffs()
const {
return _tm._bet; }
417 {
return fp / (1 + fp); }
427 {
return f / (1 - f); }
438 {
return 2 * n / (1 + n); }
449 {
return f / (2 - f); }
461 {
using std::sqrt;
return e2 / (sqrt(1 - e2) + 1); }
473 {
return f * (2 - f); }
485 {
using std::sqrt;
return ep2 / (sqrt(1 + ep2) + 1 + ep2); }
497 {
return f * (2 - f) /
Math::sq(1 - f); }
510 return 2 * epp2 / (sqrt((1 - epp2) * (1 + epp2)) + 1 + epp2);
523 {
return f * (2 - f) / (1 +
Math::sq(1 - f)); }
Header for GeographicLib::AlbersEqualArea class.
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
Header for GeographicLib::EllipticFunction class.
GeographicLib::Math::real real
Header for GeographicLib::TransverseMercator class.
Albers equal area conic projection.
Properties of an ellipsoid.
static Math::real EccentricitySqToFlattening(real e2)
static Math::real ThirdFlatteningToFlattening(real n)
Math::real EccentricitySq() const
Math::real PolarRadius() const
static Math::real SecondEccentricitySqToFlattening(real ep2)
static Math::real FlatteningToThirdFlattening(real f)
static Math::real FlatteningToSecondFlattening(real f)
static Math::real FlatteningToEccentricitySq(real f)
Math::real ThirdEccentricitySq() const
static Math::real FlatteningToSecondEccentricitySq(real f)
Math::real SecondEccentricitySq() const
Math::real Flattening() const
static Math::real ThirdEccentricitySqToFlattening(real epp2)
Math::real Volume() const
Math::real EquatorialRadius() const
static Math::real FlatteningToThirdEccentricitySq(real f)
static Math::real SecondFlatteningToFlattening(real fp)
Math::real ThirdFlattening() const
Math::real SecondFlattening() const
Elliptic integrals and functions.
Find a sequence of points on a single rhumb line.
Solve of the direct and inverse rhumb problems.
Transverse Mercator projection.
Namespace for GeographicLib.