...
This commit is contained in:
@@ -355,6 +355,20 @@ struct mcc_CCTE_interface_t {
|
||||
return std::forward<SelfT>(self).timepointToAppSideral(std::move(jd), st, islocal);
|
||||
}
|
||||
|
||||
// EQUATION OF THE ORIGINS (ERA-GST)
|
||||
|
||||
template <std::derived_from<mcc_CCTE_interface_t> SelfT>
|
||||
RetT equationOrigins(this SelfT&& self, mcc_time_point_c auto const& tp, mcc_angle_c auto* eo)
|
||||
{
|
||||
return std::forward<SelfT>(self).equationOrigins(std::move(tp), eo);
|
||||
}
|
||||
|
||||
template <std::derived_from<mcc_CCTE_interface_t> SelfT>
|
||||
RetT equationOrigins(this SelfT&& self, mcc_julday_c auto const& jd, mcc_angle_c auto* eo)
|
||||
{
|
||||
return std::forward<SelfT>(self).equationOrigins(std::move(jd), eo);
|
||||
}
|
||||
|
||||
// NOTE: ASSUMING THE AZINUTH IS COUNTED FROM THE SOUTH THROUGH THE WEST!!!
|
||||
template <std::derived_from<mcc_CCTE_interface_t> SelfT>
|
||||
RetT transformCoordinates(this SelfT&& self, mcc_celestial_point_c auto from_pt, mcc_celestial_point_c auto* to_pt)
|
||||
@@ -626,6 +640,9 @@ concept mcc_telemetry_data_c = mcc_eqt_hrz_coord_c<T> && std::default_initializa
|
||||
|
||||
// atmospheric refraction correction for current zenithal distance
|
||||
requires mcc_angle_c<decltype(t.refCorr)>; // for current .ZD
|
||||
|
||||
// equation of the origins (ERA-GST)
|
||||
requires mcc_angle_c<decltype(t.EO)>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user