diff --git a/cxx/mcc_mount_pec.h b/cxx/mcc_mount_pec.h new file mode 100644 index 0000000..2dcb442 --- /dev/null +++ b/cxx/mcc_mount_pec.h @@ -0,0 +1,32 @@ +#pragma once + +#include "mcc_mount_coord.h" + +namespace mcc +{ + +class MccMountPEC +{ +public: + struct pec_result_t { + MccAngle dx, dy; + }; + + template XT, std::derived_from YT> + pec_result_t compute(const XT& x, const YT& y) + { + static constexpr MccCoordPairKind coord_kind = traits::mcc_type_pair_hash(); + + pec_result_t res; + + if constexpr (coord_kind == MccCoordPairKind::COORDS_KIND_HADEC_APP) { + } else if constexpr (coord_kind == MccCoordPairKind::COORDS_KIND_AZALT) { + } else { + static_assert(false, "UNSUPPORTED"); + } + + return res; + } +}; + +} // namespace mcc