...
This commit is contained in:
parent
a9d52aad0e
commit
e80116d4ae
15
cxx/mount.h
15
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<decltype(utc)>::duration;
|
||||
|
||||
return std::make_tuple(false, d_t::max(), d_t{0});
|
||||
}
|
||||
|
||||
// IERS databases updater
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user