JEphem site
tig API
Build classes

jephem.astro.solarsystem
Class ELP82

java.lang.Object
  |
  +--jephem.astro.solarsystem.ELP82
All Implemented Interfaces:
PlanetaryTheory

public class ELP82
extends java.lang.Object
implements PlanetaryTheory

Calculation of the Moon coordinates with ELP-2000 82B theory.


Field Summary
 
Fields inherited from interface jephem.astro.solarsystem.PlanetaryTheory
ELP82, PLUTO99, THEORY_NAMES, VSOP87A_FULL
 
Constructor Summary
ELP82()
           
 
Method Summary
static void calcCoord(double jd, Body body, double precision, boolean velocities)
          Calculation of Moon coordinates.
static double getPrecision(int bodyIndex, double jd)
          Returns the precision of the calculation for a given julian day and a given body.
static void setDataPath(java.lang.String dataPath)
          Sets the path to data used by ELP82 to perform the computations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELP82

public ELP82()
Method Detail

calcCoord

public static void calcCoord(double jd,
                             Body body,
                             double precision,
                             boolean velocities)
                      throws AstroException
Calculation of Moon coordinates.

Parameters:
jd - julian date ; time scale : dynamical time TDB.
body - a Body whose index is at SolarSystemConstants.MOON.
velocities - Flag indicating if velocities must be also calculated.
Throws:
ComputationException - if a computation was asked for an instant not handled by ELP82.
AstroException - if the data for the computations are not loaded.

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
jd - The julian day for which the precision is asked. SolarSystemConstants.

setDataPath

public static void setDataPath(java.lang.String dataPath)
Sets the path to data used by ELP82 to perform the computations.


JEphem site
tig API
Build classes