61 , _ab2((_a - _b) * (_a + _b))
62 , _bc2((_b - _c) * (_b + _c))
63 , _ac2((_a - _c) * (_a + _c))
64 , _ex(_ab2 / _ac2 *
Math::sq(_c / _b), -_ab2 /
Math::sq(_b),
65 _bc2 / _ac2 *
Math::sq(_a / _b),
Math::sq(_a / _b))
66 , _ey(_bc2 / _ac2 *
Math::sq(_a / _b), +_bc2 /
Math::sq(_b),
67 _ab2 / _ac2 *
Math::sq(_c / _b),
Math::sq(_c / _b))
70 throw GeographicErr(
"JacobiConformal: axes are not in order");
73 (
"JacobiConformal: use alternate constructor for sphere");
91 , _ab2(ab * (_a + _b))
92 , _bc2(bc * (_b + _c))
94 , _ex(_ab2 / _ac2 *
Math::sq(_c / _b),
95 -(_a - _b) * (_a + _b) /
Math::sq(_b),
96 _bc2 / _ac2 *
Math::sq(_a / _b),
Math::sq(_a / _b))
97 , _ey(_bc2 / _ac2 *
Math::sq(_a / _b),
98 +(_b - _c) * (_b + _c) /
Math::sq(_b),
99 _ab2 / _ac2 *
Math::sq(_c / _b),
Math::sq(_c / _b))
103 throw GeographicErr(
"JacobiConformal: axes are not in order");
105 throw GeographicErr(
"JacobiConformal: ab + bc must be positive");
119 real somg1 = _b * somg, comg1 = _a * comg;
norm(somg1, comg1);
121 * _ex.
Pi(somg1, comg1, _ex.
Delta(somg1, comg1));
148 real sbet1 = _b * sbet, cbet1 = _c * cbet;
norm(sbet1, cbet1);
150 * _ey.
Pi(sbet1, cbet1, _ey.
Delta(sbet1, cbet1));
static bool isfinite(T x)
Mathematical functions needed by GeographicLib.
static void sincosd(T x, T &sinx, T &cosx)
Elliptic integrals and functions.
Namespace for GeographicLib.
Header for GeographicLib::EllipticFunction class.
Exception handling for GeographicLib.
Math::real Delta(real sn, real cn) const