This commit is contained in:
2025-08-21 19:02:11 +03:00
parent 33002f1711
commit 06c8345fc9
5 changed files with 22 additions and 2 deletions

View File

@@ -288,7 +288,10 @@ public:
auto cos_ha = (_sinAlim - sinDec * _sinLat) / cosDec / _cosLat;
if (cos_ha > 1.0) { // no intersection
// compute culmination points?
point->pair_kind = MccCoordPairKind::COORDS_KIND_GENERIC;
point->X = std::numeric_limits<double>::quiet_NaN();
point->Y = std::numeric_limits<double>::quiet_NaN();
return ret;
}