summaryrefslogtreecommitdiffstats
path: root/tksao/frame/ellipseannulus.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-12 18:44:01 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-12 18:44:01 (GMT)
commit2dc6fd7bdb85b8e0c901b4978555217b5442df90 (patch)
tree3301065fc043a78bfb2e6d5692bde3e5492a315c /tksao/frame/ellipseannulus.C
parent2b0d1fc5f0859859e21d15732fb0847aefdd0397 (diff)
downloadblt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.zip
blt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.tar.gz
blt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.tar.bz2
update wcs precision
Diffstat (limited to 'tksao/frame/ellipseannulus.C')
-rw-r--r--tksao/frame/ellipseannulus.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/tksao/frame/ellipseannulus.C b/tksao/frame/ellipseannulus.C
index d359599..d0f7a03 100644
--- a/tksao/frame/ellipseannulus.C
+++ b/tksao/frame/ellipseannulus.C
@@ -253,8 +253,8 @@ void EllipseAnnulus::list(ostream& str, Coord::CoordSystem sys,
case Coord::PHYSICAL:
case Coord::DETECTOR:
case Coord::AMPLIFIER:
- str << setprecision(parent->precLinear_)
- << ptr->mapFromRef(center,sys);
+ str << setprecision(parent->precLinear_) << ptr->mapFromRef(center,sys);
+ str << setprecision(parent->precLenLinear_);
for (int ii=0; ii<numAnnuli_; ii++)
str << ',' << ptr->mapLenFromRef(annuli_[ii],sys);
break;
@@ -271,12 +271,12 @@ void EllipseAnnulus::list(ostream& str, Coord::CoordSystem sys,
str.unsetf(ios_base::floatfield);
}
else {
- str << setprecision(parent->precLinear_);
+ str << setprecision(parent->precLenLinear_);
for (int ii=0; ii<numAnnuli_; ii++)
str << ',' << ptr->mapLenFromRef(annuli_[ii],sys);
}
}
- str << setprecision(parent->precLinear_) << ',' << radToDeg(aa) << ')';
+ str << ',' << setprecision(parent->precAngle_) << radToDeg(aa) << ')';
listPost(str, conj, strip);
}