|
Time Shield Library
C++ library for working with time
|
sin/cos helper for the Moon phase angle. More...
#include <astronomy_conversions.hpp>
Public Member Functions | |
| constexpr | MoonPhaseSineCosine ()=default |
| constexpr | MoonPhaseSineCosine (double phase_sin_value, double phase_cos_value, double phase_angle_rad_value) noexcept |
Public Attributes | |
| double | phase_sin = 0.0 |
| sin(phase angle), continuous around 0/2pi. | |
| double | phase_cos = 0.0 |
| cos(phase angle), continuous around 0/2pi. | |
| double | phase_angle_rad = 0.0 |
| Phase angle in radians [0..2*pi). | |
sin/cos helper for the Moon phase angle.
Definition at line 123 of file astronomy_conversions.hpp.
|
constexprdefault |
|
inlineconstexprnoexcept |
Definition at line 128 of file astronomy_conversions.hpp.
| double time_shield::MoonPhaseSineCosine::phase_angle_rad = 0.0 |
Phase angle in radians [0..2*pi).
Definition at line 126 of file astronomy_conversions.hpp.
| double time_shield::MoonPhaseSineCosine::phase_cos = 0.0 |
cos(phase angle), continuous around 0/2pi.
Definition at line 125 of file astronomy_conversions.hpp.
| double time_shield::MoonPhaseSineCosine::phase_sin = 0.0 |
sin(phase angle), continuous around 0/2pi.
Definition at line 124 of file astronomy_conversions.hpp.