diff options
Diffstat (limited to 'org/madore/ephem/VSOP87.java')
-rw-r--r-- | org/madore/ephem/VSOP87.java | 4 |
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); + } + } |