50 constexpr auto E_SQR = 1. - B2_DIV_A2;
52 const auto sinLat =
std::sin(point.latitude);
53 const auto cosLat =
std::cos(point.latitude);
54 const auto sinLon =
std::sin(point.longitude);
55 const auto cosLon =
std::cos(point.longitude);
57 const auto primeVerticalMeridian =
61 (primeVerticalMeridian + point.altitude) * cosLat * sinLon,
62 (B2_DIV_A2 * primeVerticalMeridian + point.altitude) * sinLat };
ECEF coordinates.
Definition: ECEF.hpp:40
Geodetic coordinates.
Definition: LLA.hpp:40
constexpr double EARTH_POLAR_RADIUS
Definition: Coordinates/ReferenceFrames/Constants.hpp:33
constexpr double EARTH_EQUATORIAL_RADIUS
Definition: Coordinates/ReferenceFrames/Constants.hpp:34
constexpr dtype sqr(dtype inValue) noexcept
Definition: sqr.hpp:42
auto sin(dtype inValue) noexcept
Definition: sin.hpp:49
auto cos(dtype inValue) noexcept
Definition: cos.hpp:49
auto sqrt(dtype inValue) noexcept
Definition: sqrt.hpp:48