26 real BX0, BY0, BZ0, BX1, BY1, BZ1;
27 real BXc = 0, BYc = 0, BZc = 0;
28 _circ0(slam, clam, BX0, BY0, BZ0);
29 _circ1(slam, clam, BX1, BY1, BZ1);
31 _circ2(slam, clam, BXc, BYc, BZc);
33 BX1 = (BX1 - BX0) / _dt0;
34 BY1 = (BY1 - BY0) / _dt0;
35 BZ1 = (BZ1 - BZ0) / _dt0;
37 BX0 += _t1 * BX1 + BXc;
38 BY0 += _t1 * BY1 + BYc;
39 BZ0 += _t1 * BZ1 + BZc;
Matrix< RealScalar, Dynamic, Dynamic > M
Header for GeographicLib::MagneticCircle class.
static void sincosd(T x, T &sinx, T &cosx)
void Field(real lon, bool diffp, real &Bx, real &By, real &Bz, real &Bxt, real &Byt, real &Bzt) const
Namespace for GeographicLib.
Header for GeographicLib::Geocentric class.
static const size_t dim2_
static void Unrotate(real M[dim2_], real X, real Y, real Z, real &x, real &y, real &z)
static void Rotation(real sphi, real cphi, real slam, real clam, real M[dim2_])