48 constexpr auto flatteningFactor =
51 const auto geocentricLatitude = atan(
utils::sqr(1. - flatteningFactor) *
std::tan(point.latitude));
Geocentric coordinates.
Definition: Geocentric.hpp:40
double longitude
Definition: Geocentric.hpp:43
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 tan(dtype inValue) noexcept
Definition: tan.hpp:49