summaryrefslogtreecommitdiffstats
path: root/tksao/frame
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-25 18:21:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-25 18:21:52 (GMT)
commit35f8b938e70d7963d6904e00b06d8afe8a14d15e (patch)
treebb7cf99b1ffef6431193594676fc7591208060f1 /tksao/frame
parent875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1 (diff)
downloadblt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.zip
blt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.tar.gz
blt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.tar.bz2
clean up code
Diffstat (limited to 'tksao/frame')
-rw-r--r--tksao/frame/base.h2
-rw-r--r--tksao/frame/frmap.C18
2 files changed, 0 insertions, 20 deletions
diff --git a/tksao/frame/base.h b/tksao/frame/base.h
index 409a9eb..4cf85c9 100644
--- a/tksao/frame/base.h
+++ b/tksao/frame/base.h
@@ -416,8 +416,6 @@ public:
void markerAnalysisStats(Marker*, ostream&, int, int,
BBox*, Coord::CoordSystem, Coord::SkyFrame);
- double mapLenFromRef(double, Coord::InternalSystem);
- Vector mapLenFromRef(const Vector&, Coord::InternalSystem);
double mapLenToRef(double, Coord::InternalSystem);
Vector mapLenToRef(const Vector&, Coord::InternalSystem);
void markerListHeader(ostream&);
diff --git a/tksao/frame/frmap.C b/tksao/frame/frmap.C
index fefe6b6..7a8f537 100644
--- a/tksao/frame/frmap.C
+++ b/tksao/frame/frmap.C
@@ -50,24 +50,6 @@ double Base::mapAngleToRef(double angle, Coord::CoordSystem sys,
return zeroTWOPI(rr);
}
-double Base::mapLenFromRef(double d, Coord::InternalSystem sys)
-{
- Vector r = mapLenFromRef(Vector(d,0),sys);
- return r[0];
-}
-
-Vector Base::mapLenFromRef(const Vector& v, Coord::InternalSystem sys)
-{
- switch (sys) {
- case Coord::CANVAS:
- return mapLen(v,refToCanvas);
- case Coord::PANNER:
- return mapLen(v,refToPanner);
- default:
- return Vector();
- }
-}
-
double Base::mapLenToRef(double d, Coord::InternalSystem sys)
{
Vector r = mapLenToRef(Vector(d,0),sys);