...
This commit is contained in:
@@ -184,7 +184,7 @@ concept mcc_mount_pec_c = requires(T t, const T t_const) {
|
||||
typename T::coord_t;
|
||||
typename T::pec_data_t;
|
||||
|
||||
// a class which contains at least .dx and .dy public fields
|
||||
// a class that contains at least .dx and .dy public fields
|
||||
requires requires(typename T::pec_result_t res) {
|
||||
requires std::same_as<decltype(res.dx), typename T::coord_t>;
|
||||
requires std::same_as<decltype(res.dy), typename T::coord_t>;
|
||||
@@ -206,7 +206,7 @@ template <typename T>
|
||||
concept mcc_mount_telemetry_c = requires(T t, const T t_const) {
|
||||
typename T::error_t;
|
||||
|
||||
// a class which contains celestial (equatorial and horizontal) coordinates
|
||||
// a class that at least contains celestial (equatorial and horizontal) coordinates
|
||||
requires requires(typename T::mount_telemetry_data_t telemetry) {
|
||||
typename T::mount_telemetry_data_t::coord_t;
|
||||
requires std::same_as<decltype(telemetry.mntRA), typename T::mount_telemetry_data_t::coord_t>; // apparent RA
|
||||
@@ -246,13 +246,14 @@ concept mcc_prohibited_zone_c = std::movable<T> && requires(T t, const T t_const
|
||||
{ t_const.name() } -> mcc_formattable;
|
||||
|
||||
|
||||
// check if given coordinates are in the zone
|
||||
// check if given coordinates are into the zone.
|
||||
// input coordinates interpretation is in according to 'zoneCoordPairKind' static constexpr member
|
||||
{ t.inZone(std::declval<typename T::coord_t>(), std::declval<typename T::coord_t>()) } -> std::convertible_to<bool>;
|
||||
|
||||
|
||||
// for given coordinates and time the method computes a time to reach the zone
|
||||
// for given coordinates and time the method computes a time to reach the zone.
|
||||
// implementation of the method must assume that input coordinates are apparent RA and DEC at given time point,
|
||||
// while the time point is one from which computation must be performed (e.g. current time moment)
|
||||
// while the time point is one from which computation should be performed (e.g. current time moment)
|
||||
{
|
||||
t.timeTo(std::declval<typename T::coord_t>(), std::declval<typename T::coord_t>(),
|
||||
std::declval<typename T::time_point_t>())
|
||||
|
||||
Reference in New Issue
Block a user