summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-16 17:47:27 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-16 17:47:27 (GMT)
commitf350c96aeeda4be8174c75f900a2e22ce18dcdf6 (patch)
treed3470172871a7fdae1acae8b1afdfbffe6728d3b /tksao
parent736fd973a10126328161a31161812ceab39e55d9 (diff)
downloadblt-f350c96aeeda4be8174c75f900a2e22ce18dcdf6.zip
blt-f350c96aeeda4be8174c75f900a2e22ce18dcdf6.tar.gz
blt-f350c96aeeda4be8174c75f900a2e22ce18dcdf6.tar.bz2
simplify wcs code
Diffstat (limited to 'tksao')
-rw-r--r--tksao/util/util.C16
-rw-r--r--tksao/util/util.h3
2 files changed, 0 insertions, 19 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C
index ec278aa..11d692f 100644
--- a/tksao/util/util.C
+++ b/tksao/util/util.C
@@ -128,22 +128,6 @@ double zeroTWOPI(double aa)
return rr;
}
-Vector zeroTWOPI(const Vector& vv)
-{
- Vector out = vv;
- // we want the first coord to be 0-2Pi
- out[0] = zeroTWOPI(out[0]);
- return out;
-}
-
-Vector3d zeroTWOPI(const Vector3d& vv)
-{
- Vector3d out = vv;
- // we want the first coord to be 0-2Pi
- out[0] = zeroTWOPI(out[0]);
- return out;
-}
-
double m180To180(double aa)
{
if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX))
diff --git a/tksao/util/util.h b/tksao/util/util.h
index 13a1e8a..8b5247c 100644
--- a/tksao/util/util.h
+++ b/tksao/util/util.h
@@ -92,10 +92,7 @@ extern double m180To180(double);
extern double degToRad(double);
extern double radToDeg(double);
-extern Vector zeroTWOPI(const Vector&);
extern Vector degToRad(const Vector&);
-
-extern Vector3d zeroTWOPI(const Vector3d&);
extern Vector3d degToRad(const Vector3d&);
extern int parseSection(char*, Vector*, Vector*);