JEphem site
tig API
Build classes

jephem.astro.solarsystem
Class SwissEphemeris

java.lang.Object
  |
  +--jephem.astro.solarsystem.SwissEphemeris
All Implemented Interfaces:
GeneralConstants, SolarSystemConstants, SpaceConstants, UnitsConstants

public abstract class SwissEphemeris
extends java.lang.Object
implements GeneralConstants, SolarSystemConstants, SpaceConstants, UnitsConstants

Class serving to interface JEphem and the java port of SwissEphemeris.


Field Summary
 
Fields inherited from interface tig.GeneralConstants
BLANK, FS, LS, NO_SPECIF, SPACE
 
Fields inherited from interface jephem.astro.solarsystem.SolarSystemConstants
E0_1900, E0_1950, E0_2000, EARTH, JUPITER, KM_PER_AU, MARS, MERCURY, MOON, NB_BODIES, NEPTUNE, PLUTO, SATURN, SIDERAL_RATE, SUN, URANUS, VENUS
 
Fields inherited from interface jephem.astro.spacetime.SpaceConstants
CARTESIAN, COORD_V0, COORD_V1, COORD_V2, COORD_X0, COORD_X1, COORD_X2, COORDGROUP_DELTA_BETA_LAMBDA, COORDGROUP_DIST_ALPHA_DELTA, COORDGROUP_RLB, COORDGROUP_XYZ, FRAME_EC_HELIO_GEOMETRIC, FRAME_ECLIPTIC, FRAME_EQUATORIAL, FRAME_GALACTIC, FRAME_HORIZONTAL_TOPOCENTRIC, FRAME_THEORY, LIGHT_VELOCITY, NB_COORDS, SPHERICAL
 
Fields inherited from interface jephem.astro.spacetime.UnitsConstants
ANGULAR_SPEED_UNIT_ARCSEC_PER_DAY, ANGULAR_SPEED_UNIT_ARCSEC_PER_S, ANGULAR_SPEED_UNIT_DEG_PER_DAY, ANGULAR_SPEED_UNIT_DEG_PER_S, ANGULAR_SPEED_UNIT_RAD_PER_DAY, ANGULAR_UNIT_ARCSEC, ANGULAR_UNIT_DEG, ANGULAR_UNIT_RAD, BASE_ANGULAR_SPEED_UNIT, BASE_ANGULAR_UNIT, BASE_DISTANCE_UNIT, BASE_LINEAR_SPEED_UNIT, DEGREES_DECIMAL, DEGREES_DMS, DELTA_BETWEEN_BASES, DISTANCE_UNIT_AU, DISTANCE_UNIT_KM, DISTANCE_UNIT_M, LINEAR_SPEED_UNIT_AU_PER_D, LINEAR_SPEED_UNIT_KM_PER_D, LINEAR_SPEED_UNIT_KM_PER_HOUR, LINEAR_SPEED_UNIT_M_PER_S, TYPE_ANGULAR, TYPE_ANGULAR_SPEED, TYPE_DISTANCE, TYPE_LINEAR_SPEED, UNITGROUP_AU_AU_AU, UNITGROUP_AU_DEG_DEG, UNITGROUP_AU_RAD_RAD, UNITGROUP_AUD_AUD_AUD, UNITGROUP_KM_KM_KM
 
Constructor Summary
SwissEphemeris()
           
 
Method Summary
static void calcBodyCoords(double jd, Body[] bodies, int frame, int sphereCart, double precision, boolean velocities, int[] units)
          Computation of body coordinates, using Swiss Ephemeris.
static void setDataPath(java.lang.String dataPath)
          Sets the path to data ; SwissEphem data are in /astro/swissEphem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwissEphemeris

public SwissEphemeris()
Method Detail

calcBodyCoords

public static void calcBodyCoords(double jd,
                                  Body[] bodies,
                                  int frame,
                                  int sphereCart,
                                  double precision,
                                  boolean velocities,
                                  int[] units)
                           throws AstroException
Computation of body coordinates, using Swiss Ephemeris. The results are stored in 'bodies'.

AstroException

setDataPath

public static void setDataPath(java.lang.String dataPath)
Sets the path to data ; SwissEphem data are in /astro/swissEphem.


JEphem site
tig API
Build classes