summaryrefslogtreecommitdiffstats
path: root/tksao/frame/box.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-14 17:55:23 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-14 17:55:23 (GMT)
commit9029c7aab922217baddcd613fd04a559539418e5 (patch)
tree97762613db9e65734ab3f51d5b7bf3a194f55e08 /tksao/frame/box.C
parentc5509c8928cd2e909e706e8989ef647c08c69f10 (diff)
downloadblt-9029c7aab922217baddcd613fd04a559539418e5.zip
blt-9029c7aab922217baddcd613fd04a559539418e5.tar.gz
blt-9029c7aab922217baddcd613fd04a559539418e5.tar.bz2
simplify marker code
Diffstat (limited to 'tksao/frame/box.C')
-rw-r--r--tksao/frame/box.C11
1 files changed, 7 insertions, 4 deletions
diff --git a/tksao/frame/box.C b/tksao/frame/box.C
index a67777b..208c671 100644
--- a/tksao/frame/box.C
+++ b/tksao/frame/box.C
@@ -271,9 +271,11 @@ void Box::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
case Coord::PHYSICAL:
case Coord::DETECTOR:
case Coord::AMPLIFIER:
- str << setprecision(parent->precLinear_) << ptr->mapFromRef(center,sys)
- << ','
- << setprecision(parent->precLenLinear_) << rr << ',';
+ ptr->listFromRef(str,center,sys);
+ str << ',';
+ ptr->listLenFromRef(str,annuli_[0],sys);
+ str << ',';
+ parent->listAngleFromRef(str,angle,sys,sky);
break;
default:
listWCS(ptr,center,sys,sky,format);
@@ -286,8 +288,9 @@ void Box::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
}
else
str << setprecision(parent->precLenLinear_) << rr << ',' ;
+ str << setprecision(parent->precAngle_) << radToDeg(aa);
}
- str << setprecision(parent->precAngle_) << radToDeg(aa) << ')';
+ str << ')';
listPost(str, conj, strip);
}