diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-12 19:45:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-12 19:45:17 (GMT) |
commit | 39c2c6a9b4f156271ee72313e77eef2d2825bac9 (patch) | |
tree | da892841a2c5722b77aa864f21f953e9c2132a66 /tksao/frame/ellipseannulus.C | |
parent | c893a55afe291e8faf832f17be85f5433e772ebb (diff) | |
download | blt-39c2c6a9b4f156271ee72313e77eef2d2825bac9.zip blt-39c2c6a9b4f156271ee72313e77eef2d2825bac9.tar.gz blt-39c2c6a9b4f156271ee72313e77eef2d2825bac9.tar.bz2 |
update marker precision
Diffstat (limited to 'tksao/frame/ellipseannulus.C')
-rw-r--r-- | tksao/frame/ellipseannulus.C | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tksao/frame/ellipseannulus.C b/tksao/frame/ellipseannulus.C index d0f7a03..df7cb63 100644 --- a/tksao/frame/ellipseannulus.C +++ b/tksao/frame/ellipseannulus.C @@ -382,13 +382,22 @@ void EllipseAnnulus::listSAOimage(ostream& str, int strip) listSAOimagePre(str); for (int ii=0; ii<numAnnuli_; ii++) { - Vector vv = ptr->mapFromRef(center,Coord::IMAGE); - str << "ellipse(" << setprecision(parent->precLinear_) << vv << ',' - << annuli_[ii] << ',' << radToDeg(angle) << ')'; + str << "ellipse(" + << setprecision(parent->precLinear_) + << ptr->mapFromRef(center,Coord::IMAGE) << ',' + << setprecision(parent->precLenLinear_) + << annuli_[ii] << ',' + << setprecision(parent->precAngle_) + << radToDeg(angle) << ')'; if (ii!=0) - str << " & !ellipse(" << setprecision(parent->precLinear_) << vv << ',' - << annuli_[ii-1] << ',' << radToDeg(angle) << ')'; + str << " & !ellipse(" + << setprecision(parent->precLinear_) + << ptr->mapFromRef(center,Coord::IMAGE) << ',' + << setprecision(parent->precLenLinear_) + << annuli_[ii-1] << ',' + << setprecision(parent->precAngle_) + << radToDeg(angle) << ')'; listSAOimagePost(str, strip); } |