diff options
Diffstat (limited to 'tksao/frame/box.C')
-rw-r--r-- | tksao/frame/box.C | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tksao/frame/box.C b/tksao/frame/box.C index 0497735..cbd40e5 100644 --- a/tksao/frame/box.C +++ b/tksao/frame/box.C @@ -281,8 +281,7 @@ void Box::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, break; case Coord::SEXAGESIMAL: listRADEC(ptr,center,sys,sky,format); - str << type_ << '(' << setprecision(8) - << ra << ',' << dec << ',' + str << type_ << '(' << ra << ',' << dec << ',' << setprecision(3) << fixed << setunit('"') << rr << ','; str.unsetf(ios_base::floatfield); str << setprecision(8) << radToDeg(aa) << ')'; @@ -365,8 +364,7 @@ void Box::listCiao(ostream& str, Coord::CoordSystem sys, int strip) if (ptr->hasWCSCel(sys)) { listRADEC(ptr,center,sys,Coord::FK5,Coord::SEXAGESIMAL); Vector rr = ptr->mapLenFromRef(annuli_[0],sys,Coord::ARCMIN); - str << type_ << '(' - << ra << ',' << dec << ',' + str << type_ << '(' << ra << ',' << dec << ',' << setprecision(5) << fixed << setunit('\'') << rr << ','; str.unsetf(ios_base::floatfield); str << setprecision(8) << radToDeg(angle) << ')'; |