...
This commit is contained in:
@@ -597,11 +597,17 @@ public:
|
||||
} else { // from apparent (2025-12-18: according to addition of RA/DEC_OCRS to mcc_eqt_hrz_coord_c)
|
||||
cpt.pair_kind = MccCoordPairKind::COORDS_KIND_RADEC_ICRS;
|
||||
ret = transformCoordinates(from_pt, &cpt); // to ICRS
|
||||
if (!ret) {
|
||||
ret = transformCoordinates(cpt, to_pt);
|
||||
if (ret) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
return ret;
|
||||
to_pt->RA_ICRS = cpt.X;
|
||||
to_pt->DEC_ICRS = cpt.Y;
|
||||
// if (!ret) {
|
||||
// ret = transformCoordinates(cpt, to_pt); // from ICRS to observed
|
||||
// }
|
||||
|
||||
// return ret;
|
||||
}
|
||||
|
||||
// from apparent: copy corresponded coordinates and compute other ones (ignore to_pt->pair_kind)
|
||||
|
||||
Reference in New Issue
Block a user