![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Namespaces | |
| namespace | direction |
| namespace | position |
Classes | |
| struct | Direction |
| A direction on the celestial sphere, compile-time tagged by frame. More... | |
| struct | Position |
| A spherical position (direction + distance), compile-time tagged. More... | |
Functions | |
| template<typename F , std::enable_if_t< frames::has_ra_dec_v< F >, int > = 0> | |
| std::ostream & | 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 & | operator<< (std::ostream &os, const Position< C, F, U > &pos) |
| Stream operator for spherical::Position (RA/Dec frames). | |
|
inline |
Stream operator for Direction with RA/Dec frames.
Stream operator for Direction with Lon/Lat frames.
Stream operator for Direction with Az/Alt frame.
Definition at line 428 of file spherical.hpp.
References siderust::spherical::Direction< F >::dec(), and siderust::spherical::Direction< F >::ra().
|
inline |
Stream operator for spherical::Position (RA/Dec frames).
Stream operator for spherical::Position (lon/lat frames).
Stream operator for spherical::Position (Horizontal frame).
Definition at line 455 of file spherical.hpp.
References siderust::spherical::Position< C, F, U >::dec(), siderust::spherical::Position< C, F, U >::distance(), and siderust::spherical::Position< C, F, U >::ra().