NumCpp  2.12.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
ENUUnitVecsInECEF.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#include <cmath>
31
35
37{
45 [[nodiscard]] inline std::array<Vec3, 3> ENUUnitVecsInECEF(const reference_frames::ECEF& location) noexcept
46 {
47 const auto& [xHat, yHat, zHat] = NEDUnitVecsInECEF(location);
48 return { yHat, xHat, -zHat };
49 }
50} // namespace nc::coordinates::transforms
ECEF coordinates.
Definition: ECEF.hpp:40
Definition: AERtoECEF.hpp:38
std::array< Vec3, 3 > ENUUnitVecsInECEF(const reference_frames::ECEF &location) noexcept
get the local ENU unit vectors wrt the ECEF coordinate system // https://gssc.esa....
Definition: ENUUnitVecsInECEF.hpp:45
std::array< Vec3, 3 > NEDUnitVecsInECEF(const reference_frames::ECEF &location) noexcept
get the local NED unit vectors wrt the ECEF coordinate system https://gssc.esa.int/navipedia/index....
Definition: NEDUnitVecsInECEF.hpp:45