![]() |
siderust-cpp
Header-only C++ wrapper for siderust
|
A unit-vector direction in Cartesian form, compile-time frame-tagged. More...
#include <siderust/coordinates/cartesian.hpp>
Public Member Functions | |
| Direction () | |
| Direction (double x_, double y_, double z_) | |
Static Public Member Functions | |
| static constexpr siderust_frame_t | frame_id () |
Public Attributes | |
| double | x |
| X component (unitless). | |
| double | y |
| Y component (unitless). | |
| double | z |
| Z component (unitless). | |
A unit-vector direction in Cartesian form, compile-time frame-tagged.
Mirrors Rust's affn::cartesian::Direction<F>.
| F | Reference frame tag (e.g. frames::ICRS). |
Definition at line 27 of file cartesian.hpp.
|
inline |
Definition at line 34 of file cartesian.hpp.
|
inline |
Definition at line 35 of file cartesian.hpp.
|
inlinestaticconstexpr |
Definition at line 37 of file cartesian.hpp.
| double siderust::cartesian::Direction< F >::x |
X component (unitless).
Definition at line 30 of file cartesian.hpp.
Referenced by cartesian_and_units_example().
| double siderust::cartesian::Direction< F >::y |
Y component (unitless).
Definition at line 31 of file cartesian.hpp.
Referenced by cartesian_and_units_example().
| double siderust::cartesian::Direction< F >::z |
Z component (unitless).
Definition at line 32 of file cartesian.hpp.
Referenced by cartesian_and_units_example().