summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-25 17:32:42 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-25 17:32:42 (GMT)
commit875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1 (patch)
treeeb1060f40751e93aba0d93529980e1cb08b7d901 /tksao
parent395cc8ac191b8820f4b1fb066d5cc82ccf4ab56c (diff)
downloadblt-875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1.zip
blt-875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1.tar.gz
blt-875cc9d6c58b34e24a16a7bdd019b99aae8f7ea1.tar.bz2
clean up code
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/base.h1
-rw-r--r--tksao/frame/frmap.C14
2 files changed, 0 insertions, 15 deletions
diff --git a/tksao/frame/base.h b/tksao/frame/base.h
index f7ba516..409a9eb 100644
--- a/tksao/frame/base.h
+++ b/tksao/frame/base.h
@@ -416,7 +416,6 @@ public:
void markerAnalysisStats(Marker*, ostream&, int, int,
BBox*, Coord::CoordSystem, Coord::SkyFrame);
- double mapDistFromRef(const Vector&, const Vector&, Coord::InternalSystem);
double mapLenFromRef(double, Coord::InternalSystem);
Vector mapLenFromRef(const Vector&, Coord::InternalSystem);
double mapLenToRef(double, Coord::InternalSystem);
diff --git a/tksao/frame/frmap.C b/tksao/frame/frmap.C
index 16c312d..fefe6b6 100644
--- a/tksao/frame/frmap.C
+++ b/tksao/frame/frmap.C
@@ -50,20 +50,6 @@ double Base::mapAngleToRef(double angle, Coord::CoordSystem sys,
return zeroTWOPI(rr);
}
-double Base::mapDistFromRef(const Vector& v1, const Vector& v2,
- Coord::InternalSystem sys)
-{
- switch (sys) {
- case Coord::CANVAS:
- return (v2*refToCanvas - v1*refToCanvas).length();
- case Coord::PANNER:
- return (v2*refToPanner - v1*refToPanner).length();
- default:
- // na
- return 0;
- }
-}
-
double Base::mapLenFromRef(double d, Coord::InternalSystem sys)
{
Vector r = mapLenFromRef(Vector(d,0),sys);