edu.pdx.starview.planets
Class PlanetVSOP

java.lang.Object
  extended byedu.pdx.starview.planets.PlanetVSOP

public class PlanetVSOP
extends java.lang.Object

The Vsop class wraps the VSOP87 data and provides VSOP support fns Source from http://www.projectpluto.com/source.htm#cpp_version http://mhuss.com/AstroLib/AstroCpp.zip Based on Bill Gray's open-source code at projectpluto.com

Author:
Dave Camarillo, Mark Huss

Nested Class Summary
 class PlanetVSOP.PlanetLoc
          Contains helocentric lon,lat and radius of a planet.
 
Field Summary
static edu.pdx.starview.planets.PlanetVSOPTerms[] AstroTerms
          A complete collection of VSOP terms (6 Lat, 6 Lon, 6 Rad )
static int ECLIPTIC_LAT
           
static int ECLIPTIC_LON
          location elements (longitude, latitide, distance)
static int RADIUS
           
 
Constructor Summary
PlanetVSOP()
           
 
Method Summary
 PlanetVSOP.PlanetLoc calcAllLocs(double cen, int planet)
          Calculate all three location elements of the spec'd body at the given time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AstroTerms

public static final edu.pdx.starview.planets.PlanetVSOPTerms[] AstroTerms
A complete collection of VSOP terms (6 Lat, 6 Lon, 6 Rad )


ECLIPTIC_LON

public static final int ECLIPTIC_LON
location elements (longitude, latitide, distance)

See Also:
Constant Field Values

ECLIPTIC_LAT

public static final int ECLIPTIC_LAT
See Also:
Constant Field Values

RADIUS

public static final int RADIUS
See Also:
Constant Field Values
Constructor Detail

PlanetVSOP

public PlanetVSOP()
Method Detail

calcAllLocs

public PlanetVSOP.PlanetLoc calcAllLocs(double cen,
                                        int planet)
                                 throws java.lang.Exception
Calculate all three location elements of the spec'd body at the given time

Parameters:
cen - time in decimal centuries
planet - must be in the range SUN...NEPTUNE
Returns:
Throws:
java.lang.Exception