diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-03-21 16:29:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-03-21 16:29:17 (GMT) |
commit | 078329136ce02fc6578728f08906ed88738a92f1 (patch) | |
tree | 6ec6a6ec967fd773bced5f61eceb8d1056067251 /tksao/frame/polygon.C | |
parent | 28b383c0d366adf7174caa656554ef09b9775ac1 (diff) | |
download | blt-078329136ce02fc6578728f08906ed88738a92f1.zip blt-078329136ce02fc6578728f08906ed88738a92f1.tar.gz blt-078329136ce02fc6578728f08906ed88738a92f1.tar.bz2 |
clean up region list code
Diffstat (limited to 'tksao/frame/polygon.C')
-rw-r--r-- | tksao/frame/polygon.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tksao/frame/polygon.C b/tksao/frame/polygon.C index 29fbe67..d86a948 100644 --- a/tksao/frame/polygon.C +++ b/tksao/frame/polygon.C @@ -487,7 +487,7 @@ void Polygon::listPros(ostream& str, Coord::CoordSystem sys, vertex.head(); do { Vector vv = ptr->mapFromRef(vertex.current()->vector*mm,sys); - str << ' ' << setprecision(8) << vv; + str << ' ' << vv; } while (vertex.next()); } @@ -503,7 +503,7 @@ void Polygon::listPros(ostream& str, Coord::CoordSystem sys, vertex.head(); do { Vector vv = ptr->mapFromRef(vertex.current()->vector*mm,sys,sky); - str << ' ' << setprecision(10) << setunit('d') << vv; + str << ' ' << setunit('d') << vv; } while (vertex.next()); } @@ -546,7 +546,7 @@ void Polygon::listSAOtng(ostream& str, Coord::CoordSystem sys, first=0; Vector vv = ptr->mapFromRef(vertex.current()->vector*mm,sys); - str << setprecision(8) << vv; + str << vv; } while (vertex.next()); str << ')'; @@ -566,7 +566,7 @@ void Polygon::listSAOtng(ostream& str, Coord::CoordSystem sys, first=0; Vector vv = ptr->mapFromRef(vertex.current()->vector*mm,sys,sky); - str << setprecision(10) << vv; + str << vv; } while (vertex.next()); str << ')'; @@ -611,7 +611,7 @@ void Polygon::listSAOimage(ostream& str, int strip) first=0; Vector vv = ptr->mapFromRef(vertex.current()->vector*mm,Coord::IMAGE); - str << setprecision(8) << vv; + str << vv; } while (vertex.next()); |