mountcontrol/cxx/mcc_mount_pec.h
2025-06-25 12:02:50 +03:00

33 lines
692 B
C++

#pragma once
#include "mcc_mount_coord.h"
namespace mcc
{
class MccMountPEC
{
public:
struct pec_result_t {
MccAngle dx, dy;
};
template <std::derived_from<MccAngle> XT, std::derived_from<MccAngle> YT>
pec_result_t compute(const XT& x, const YT& y)
{
static constexpr MccCoordPairKind coord_kind = traits::mcc_type_pair_hash<XT, YT>();
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