diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-08-25 18:21:52 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-08-25 18:21:52 (GMT) |
commit | 35f8b938e70d7963d6904e00b06d8afe8a14d15e (patch) | |
tree | bb7cf99b1ffef6431193594676fc7591208060f1 /tksao/frame | |
parent | 875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1 (diff) | |
download | blt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.zip blt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.tar.gz blt-35f8b938e70d7963d6904e00b06d8afe8a14d15e.tar.bz2 |
clean up code
Diffstat (limited to 'tksao/frame')
-rw-r--r-- | tksao/frame/base.h | 2 | ||||
-rw-r--r-- | tksao/frame/frmap.C | 18 |
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); |