#include <EarthModel.hpp>
|
| constexpr | EarthModel (double a_, double f_, double omega_, double mu_) |
| | Construct an EarthModel with derived quantities computed.
|
|
| double | a |
| | Semi-major axis (equatorial radius) [m].
|
| double | f |
| | Flattening (a-b)/a.
|
| double | omega |
| | Angular velocity [rad/s].
|
| double | mu |
| | Gravitational parameter (GM) [m³/s²].
|
| double | b |
| | Semi-minor axis (polar radius) [m].
|
| double | e2 |
| | First eccentricity squared: e² = 2f - f²
|
| double | e_prime2 |
| | Second eccentricity squared: e'² = e²/(1-e²).
|
Ellipsoid parameters for Earth models
Stores the defining parameters of a reference ellipsoid along with derived quantities computed at construction time. This struct is not templated as ellipsoid constants are always numeric (double).
Example:
double equatorial_radius = model.a;
static constexpr EarthModel WGS84()
WGS84 reference ellipsoid (most common for GPS/navigation).
Definition EarthModel.hpp:45
◆ EarthModel()
| vulcan::EarthModel::EarthModel |
( |
double | a_, |
|
|
double | f_, |
|
|
double | omega_, |
|
|
double | mu_ ) |
|
inlineconstexpr |
Construct an EarthModel with derived quantities computed.
◆ Spherical()
| constexpr EarthModel vulcan::EarthModel::Spherical |
( |
| ) |
|
|
inlinestaticconstexpr |
Spherical Earth (for simplified calculations).
◆ WGS84()
| constexpr EarthModel vulcan::EarthModel::WGS84 |
( |
| ) |
|
|
inlinestaticconstexpr |
WGS84 reference ellipsoid (most common for GPS/navigation).
| double vulcan::EarthModel::a |
Semi-major axis (equatorial radius) [m].
| double vulcan::EarthModel::b |
Semi-minor axis (polar radius) [m].
◆ e2
| double vulcan::EarthModel::e2 |
First eccentricity squared: e² = 2f - f²
◆ e_prime2
| double vulcan::EarthModel::e_prime2 |
Second eccentricity squared: e'² = e²/(1-e²).
| double vulcan::EarthModel::f |
◆ mu
| double vulcan::EarthModel::mu |
Gravitational parameter (GM) [m³/s²].
◆ omega
| double vulcan::EarthModel::omega |
Angular velocity [rad/s].
The documentation for this struct was generated from the following file: