NumCpp  2.11.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
ENUUnitVecsInECEF.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include <cmath>
31 
34 #include "NumCpp/Vector/Vec3.hpp"
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&#160;the&#160;local&#160;ENU&#160;unit&#160;vectors&#160;wrt&#160;the&#160;ECEF&#160;coordinate&#160;system // https://gssc.esa....
Definition: ENUUnitVecsInECEF.hpp:45
std::array< Vec3, 3 > NEDUnitVecsInECEF(const reference_frames::ECEF &location) noexcept
get&#160;the&#160;local&#160;NED&#160;unit&#160;vectors&#160;wrt&#160;the&#160;ECEF&#160;coordinate&#160;system https://gssc.esa.int/navipedia/index....
Definition: NEDUnitVecsInECEF.hpp:45