jephem.astro.solarsystem
Class Pluto99
java.lang.Object
|
+--jephem.astro.solarsystem.Pluto99
- All Implemented Interfaces:
- PlanetaryTheory, TimeConstants
- public abstract class Pluto99
- extends java.lang.Object
- implements PlanetaryTheory, TimeConstants
Calculation of Pluto coordinates, based on the work of J. Chapront and G. Francou, Bureau des Longitudes - France.
This work can be found at ftp://ftp.bdl.fr/pub/polac/solarsys/pluto.
In particular, three files from this directory were used : notice
plutoxyz.for
and plutoxyz.dat
.
Pluto99.java
contains the calculation method and the tables with the data.
Tested to match the values given in notice
.
Method Summary |
static void |
calcCoord(double jd,
Body body,
double precision,
boolean velocities)
Calculation of Pluto position and velocity.
|
static double |
getPrecision(int bodyIndex,
double jd)
Returns the precision of the calculation for a given julian day and a given body. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pluto99
public Pluto99()
calcCoord
public static void calcCoord(double jd,
Body body,
double precision,
boolean velocities)
- Calculation of Pluto position and velocity.
If the date asked for the computation is not handled by Pluto99 theory or if parameter 'precision' can't be
handled by the theory, a Body.setComputationException(ComputationException)
is called.
- Parameters:
jd
- Julian day.body
- Body in which the results are storedprecision
- Precision required for the positions (arc seconds).velocities
- Indicates wether velocities should be calculated.
getPrecision
public static double getPrecision(int bodyIndex,
double jd)
- Returns the precision of the calculation for a given julian day and a given body.
- Parameters:
bodyIndex
- Integer specifying for which Body the precision is asked ; use
SolarSystemConstants
.jd
- The julian day for which the precision is asked.