From c0f7b068216dac8a3daa821cf5288b67d37b4082 Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Wed, 25 Jun 2025 12:02:50 +0300 Subject: [PATCH] ... --- cxx/mcc_mount_pec.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cxx/mcc_mount_pec.h 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