From e80116d4ae61630ae853c19b0e3dfb1795e662e4 Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Tue, 15 Apr 2025 18:36:14 +0300 Subject: [PATCH] ... --- cxx/mount.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/cxx/mount.h b/cxx/mount.h index 1459422..2651ad8 100644 --- a/cxx/mount.h +++ b/cxx/mount.h @@ -103,9 +103,9 @@ struct MccMountSiteInfo { typedef double mnt_site_coord_t; typedef double mnt_site_elev_t; - mnt_site_coord_t latitude{0.0}; // in radians - mnt_site_coord_t longitude{0.0}; // in radians (positive to the East) - mnt_site_elev_t elevation{0.0}; // in meters + mnt_site_coord_t latitude{"00:00:00.0"_dms}; // in radians + mnt_site_coord_t longitude{0.0}; // in radians (positive to the East) + mnt_site_elev_t elevation{0.0}; // in meters std::string_view name{"ALL-ZERO"}; // just a human-readable name }; @@ -295,6 +295,15 @@ public: return d_t{0}; } + // above two methods in one call + auto pzCheck(const MccCoordinate& xcoord, + const MccCoordinate& ycoord, + traits::mcc_systime_c auto const& utc = std::chrono::system_clock::now()) + { + using d_t = std::remove_cvref_t::duration; + + return std::make_tuple(false, d_t::max(), d_t{0}); + } // IERS databases updater