summaryrefslogtreecommitdiffstats
path: root/org/madore/ephem/VSOP87.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2012-04-17 21:09:36 +0200
committerDavid A. Madore <david+git@madore.org>2012-04-17 21:09:36 +0200
commit12ab2221611336f6d209d643574fdc2d2b1fac16 (patch)
treee8c177bab281602e14494c3ad725e1bfa18a3066 /org/madore/ephem/VSOP87.java
parent5f00eb3230d89f98d93c6e5bc8ecfa72e4e89b07 (diff)
downloadephem-12ab2221611336f6d209d643574fdc2d2b1fac16.tar.gz
ephem-12ab2221611336f6d209d643574fdc2d2b1fac16.tar.bz2
ephem-12ab2221611336f6d209d643574fdc2d2b1fac16.zip
Various small fixes + add a simple test (computing solar coordinates).
Diffstat (limited to 'org/madore/ephem/VSOP87.java')
-rw-r--r--org/madore/ephem/VSOP87.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org/madore/ephem/VSOP87.java b/org/madore/ephem/VSOP87.java
index 3f06cf8..623401c 100644
--- a/org/madore/ephem/VSOP87.java
+++ b/org/madore/ephem/VSOP87.java
@@ -72,4 +72,8 @@ public final class VSOP87 {
return data.get(pl).get(v);
}
+ public static double getVal(Planet pl, Variable v, double tdbJd) {
+ return getFunc(pl, v).v(Ephem.fromJd(tdbJd)/10);
+ }
+
}