summaryrefslogtreecommitdiffstats
path: root/tksao/frame/composite.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-11 17:33:46 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-11 17:33:46 (GMT)
commit59967dc4830146ff53bc64a33c00c70ef6021cb3 (patch)
treec06832c42d4b2b70053c6c6ad1e042c59f368acf /tksao/frame/composite.C
parentaecffafa9daebb5d9ab0e366a75a9778a5a0d909 (diff)
downloadblt-59967dc4830146ff53bc64a33c00c70ef6021cb3.zip
blt-59967dc4830146ff53bc64a33c00c70ef6021cb3.tar.gz
blt-59967dc4830146ff53bc64a33c00c70ef6021cb3.tar.bz2
clean up marker code
Diffstat (limited to 'tksao/frame/composite.C')
-rw-r--r--tksao/frame/composite.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/tksao/frame/composite.C b/tksao/frame/composite.C
index b50659f..0c77eb0 100644
--- a/tksao/frame/composite.C
+++ b/tksao/frame/composite.C
@@ -193,6 +193,7 @@ void Composite::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
FitsImage* ptr = parent->findFits(sys,center);
listPre(str, sys, sky, ptr, strip, 1);
+ str << type_;
switch (sys) {
case Coord::IMAGE:
case Coord::PHYSICAL:
@@ -200,20 +201,20 @@ void Composite::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
case Coord::AMPLIFIER:
{
Vector vv = ptr->mapFromRef(center,sys);
- str << type_ << '(' << setprecision(8) << vv << ','
+ str << '(' << setprecision(8) << vv << ','
<< radToDeg(parent->mapAngleFromRef(angle,sys)) << ')';
}
break;
default:
if (ptr->hasWCSCel(sys)) {
listRADEC(ptr,center,sys,sky,format);
- str << type_ << '(' << ra << ',' << dec << ','
+ str << '(' << ra << ',' << dec << ','
<< setprecision(8)
<< radToDeg(parent->mapAngleFromRef(angle,sys,sky)) << ')';
}
else {
Vector vv = ptr->mapFromRef(center,sys);
- str << type_ << '(' << setprecision(8) << vv << ','
+ str << '(' << setprecision(8) << vv << ','
<< radToDeg(parent->mapAngleFromRef(angle,sys)) << ')';
}
}