10#if !defined(GEOGRAPHICLIB_ELLIPSOID_HPP)
11#define GEOGRAPHICLIB_ELLIPSOID_HPP 1
34 static const int numit_ = 10;
36 real _a, _f,_b, _e2, _e12, _n;
92 {
return (4 * Math::pi()) * Math::sq(_a) * _b / 3; }
402 {
return fp / (1 + fp); }
412 {
return f / (1 - f); }
423 {
return 2 * n / (1 + n); }
434 {
return f / (2 - f); }
446 {
using std::sqrt;
return e2 / (sqrt(1 - e2) + 1); }
458 {
return f * (2 - f); }
470 {
using std::sqrt;
return ep2 / (sqrt(1 + ep2) + 1 + ep2); }
482 {
return f * (2 - f) / Math::sq(1 - f); }
495 return 2 * epp2 / (sqrt((1 - epp2) * (1 + epp2)) + 1 + epp2);
508 {
return f * (2 - f) / (1 + Math::sq(1 - f)); }
Header for the GeographicLib::AuxLatitude class.
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
Conversions between auxiliary latitudes.
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)
Ellipsoid(real a, 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
Namespace for GeographicLib.