Go to the documentation of this file.
10 #if !defined(GEOGRAPHICLIB_GEOCENTRIC_HPP)
11 #define GEOGRAPHICLIB_GEOCENTRIC_HPP 1
76 static const size_t dim_ = 3;
77 static const size_t dim2_ = dim_ * dim_;
85 X =
M[0] *
x +
M[1] *
y +
M[2] *
z;
86 Y =
M[3] *
x +
M[4] *
y +
M[5] *
z;
87 Z =
M[6] *
x +
M[7] *
y +
M[8] *
z;
93 x =
M[0] *
X +
M[3] *
Y +
M[6] *
Z;
94 y =
M[1] *
X +
M[4] *
Y +
M[7] *
Z;
95 z =
M[2] *
X +
M[5] *
Y +
M[8] *
Z;
100 real M[dim2_])
const;
162 std::vector<real>&
M)
166 if (
M.end() ==
M.begin() + dim2_) {
169 std::copy(
t,
t + dim2_,
M.begin());
224 std::vector<real>&
M)
228 if (
M.end() ==
M.begin() + dim2_) {
231 std::copy(
t,
t + dim2_,
M.begin());
242 bool Init()
const {
return _a > 0; }
267 #endif // GEOGRAPHICLIB_GEOCENTRIC_HPP
Math::real MajorRadius() const
Gravity on a circle of latitude.
Namespace for GeographicLib.
GaussianFactorGraphValuePair Y
void Reverse(real X, real Y, real Z, real &lat, real &lon, real &h) const
State class representing the state of the Biased Attitude System.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Model of the earth's magnetic field.
static void Rotate(real M[dim2_], real x, real y, real z, real &X, real &Y, real &Z)
#define GEOGRAPHICLIB_EXPORT
void Forward(real lat, real lon, real h, real &X, real &Y, real &Z) const
The normal gravity of the earth.
void Forward(real lat, real lon, real h, real &X, real &Y, real &Z, std::vector< real > &M) const
Header for GeographicLib::Constants class.
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
static void Unrotate(real M[dim2_], real X, real Y, real Z, real &x, real &y, real &z)
void Reverse(real X, real Y, real Z, real &lat, real &lon, real &h, std::vector< real > &M) const
Math::real Flattening() const
Local cartesian coordinates.
Model of the earth's gravity field.
Geomagnetic field on a circle of latitude.
gtsam
Author(s):
autogenerated on Wed May 28 2025 03:01:21