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

Classes

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

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 >
constexpr bool siderust::centers::has_center_transform_v = has_center_transform<From, To>::value
inlineconstexpr

Definition at line 124 of file centers.hpp.

◆ is_center_v

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

Definition at line 36 of file centers.hpp.