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

Classes

struct  CenterTraits
struct  is_center
struct  is_center< C, std::void_t< decltype(CenterTraits< C >::ffi_id)> >
struct  Barycentric
 Solar-system barycenter (zero-cost, Params = void). More...
struct  Heliocentric
 Heliocenter (zero-cost, Params = void). More...
struct  Geocentric
 Geocenter (zero-cost, Params = void). More...
struct  Topocentric
 Observer on Earth's surface (Params = Geodetic). More...
struct  Bodycentric
 Center of a body (Params = BodycentricParams). More...
struct  NoParams
 Marker for simple (no-parameter) centers. More...
struct  CenterTraits< Barycentric >
struct  CenterTraits< Heliocentric >
struct  CenterTraits< Geocentric >
struct  CenterTraits< Topocentric >
struct  CenterTraits< Bodycentric >
struct  has_center_transform
 Marks center pairs for which a CenterShiftProvider exists. More...
struct  has_center_transform< C, C >

Functions

 SIDERUST_CENTER_TRANSFORM_PAIR (Barycentric, Heliocentric)
 SIDERUST_CENTER_TRANSFORM_PAIR (Barycentric, Geocentric)
 SIDERUST_CENTER_TRANSFORM_PAIR (Heliocentric, Geocentric)

Variables

template<typename C>
constexpr bool is_center_v = is_center<C>::value
template<typename From, typename To>
constexpr bool has_center_transform_v = has_center_transform<From, To>::value

Function Documentation

◆ SIDERUST_CENTER_TRANSFORM_PAIR() [1/3]

siderust::centers::SIDERUST_CENTER_TRANSFORM_PAIR ( Barycentric ,
Geocentric  )

◆ SIDERUST_CENTER_TRANSFORM_PAIR() [2/3]

siderust::centers::SIDERUST_CENTER_TRANSFORM_PAIR ( Barycentric ,
Heliocentric  )

◆ SIDERUST_CENTER_TRANSFORM_PAIR() [3/3]

siderust::centers::SIDERUST_CENTER_TRANSFORM_PAIR ( Heliocentric ,
Geocentric  )

Variable Documentation

◆ has_center_transform_v

template<typename From, typename To>
bool siderust::centers::has_center_transform_v = has_center_transform<From, To>::value
inlineconstexpr

Definition at line 112 of file centers.hpp.

◆ is_center_v

template<typename C>
bool siderust::centers::is_center_v = is_center<C>::value
inlineconstexpr

Definition at line 33 of file centers.hpp.

Referenced by siderust::kepler_position(), and siderust::to_bodycentric().