siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::spherical Namespace Reference

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).

Function Documentation

◆ operator<<() [1/6]

template<typename F, std::enable_if_t< frames::has_lon_lat_v< F >, int > = 0>
std::ostream & siderust::spherical::operator<< ( std::ostream & os,
const Direction< F > & dir )
inline

◆ operator<<() [2/6]

template<typename F, std::enable_if_t< frames::has_az_alt_v< F >, int > = 0>
std::ostream & siderust::spherical::operator<< ( std::ostream & os,
const Direction< F > & dir )
inline

◆ operator<<() [3/6]

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 )
inline

◆ operator<<() [4/6]

template<typename C, typename F, typename U, std::enable_if_t< frames::has_lon_lat_v< F >, int > = 0>
std::ostream & siderust::spherical::operator<< ( std::ostream & os,
const Position< C, F, U > & pos )
inline

◆ operator<<() [5/6]

template<typename C, typename F, typename U, std::enable_if_t< frames::has_az_alt_v< F >, int > = 0>
std::ostream & siderust::spherical::operator<< ( std::ostream & os,
const Position< C, F, U > & pos )
inline

◆ operator<<() [6/6]

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 )
inline