|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mhuss.AstroLib.Vsop
public class Vsop
This class wraps the VSOP87 data and provides VSOP planetary position calculation functions for Mercury through Neptune (VSOP doesn't handle the moon or Pluto).
Based on C code by Bill Gray (www.projectpluto.com)
Constructor Summary | |
---|---|
Vsop()
|
Method Summary | |
---|---|
static void |
calcAllLEs(LocationElements loc,
double jcen,
int planet)
Calculate all three location elements of the specified planet at the given time. |
static double |
calcLE(double t,
int planet,
int ltype)
Calculate a single location element (latitude, longitude, or radius). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Vsop()
Method Detail |
---|
public static double calcLE(double t, int planet, int ltype)
This function, using the simplified VSOP87 data in Meeus, can compute planetary positions in heliocentric ecliptic coordinates.
Longitude & latitude are in radians.
t
- Time in Julian centuries from J2000planet
- One of the constants from Planets.MERCURY
to Planets.NEPTUNE inclusive.ltype
- location element type:
public static void calcAllLEs(LocationElements loc, double jcen, int planet)
loc
- The LocationElements instance to populatejcen
- Time in Julian centuries from J2000planet
- The planet position to calculate, which must be in
the range Planets.MERCURY to Planets.NEPTUNE
inclusive.
|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |