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