![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Typed spherical coordinate templates. More...
#include "../astro_context.hpp"#include "../centers.hpp"#include "../constants.hpp"#include "../frames.hpp"#include "../time.hpp"#include "geodetic.hpp"#include <qtty/qtty.hpp>#include "detail/stream.hpp"#include <cmath>#include <ostream>#include <type_traits>

Go to the source code of this file.
Classes | |
| struct | siderust::spherical::Direction< F > |
| A direction on the celestial sphere, compile-time tagged by frame. More... | |
| struct | siderust::spherical::Position< C, F, U > |
| A spherical position (direction + distance), compile-time tagged. More... | |
Namespaces | |
| namespace | siderust |
| namespace | siderust::cartesian |
| namespace | siderust::spherical |
Functions | |
| template<typename F , std::enable_if_t< frames::has_ra_dec_v< F >, int > = 0> | |
| std::ostream & | siderust::spherical::operator<< (std::ostream &os, const Direction< F > &dir) |
| Stream operator for Direction with RA/Dec frames. | |
| template<typename C , typename F , typename U , std::enable_if_t< frames::has_ra_dec_v< F >, int > = 0> | |
| std::ostream & | siderust::spherical::operator<< (std::ostream &os, const Position< C, F, U > &pos) |
| Stream operator for spherical::Position (RA/Dec frames). | |
Typed spherical coordinate templates.
Definition in file spherical.hpp.