|
mhuss AstroLib 1.1.4a | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mhuss.AstroLib.PlanetData
This class handles planetary motion calculations and conversions.
| Constructor Summary | |
PlanetData()
Default constructor. |
|
PlanetData(int planet,
double jd,
ObsInfo oi)
Explicit (all parameters) constructor. |
|
| Method Summary | |
void |
calc(int planet,
double jd,
ObsInfo oi)
Calculate the data for a given planet, julian day, and location. |
double |
calcLon(int planet,
double jd,
ObsInfo oi)
This calculates all LocationElements, then returns the longitude. |
double |
getAltAzLat()
Get the Alt-Az latitude. |
double |
getAltAzLon()
Get the Alt-Az longitude. |
double |
getAltAzRadius()
Get the Alt-Az radius. |
double |
getDeclination()
Get the declination. |
double |
getEclipticLat()
Get the ecliptic latitude. |
double |
getEclipticLon()
Get the ecliptic longitude. |
double |
getEclipticRadius()
Get the ecliptic radius. |
double |
getEquatorialLat()
Get the equatorial latitude. |
double |
getEquatorialLon()
Get the equatorial longitude. |
double |
getEquatorialRadius()
Get the equatorial radius. |
double |
getHeliocentricLat()
Get the heliocentric latitude. |
double |
getHeliocentricLon()
Get the heliocentric longitude. |
double |
getHeliocentricRadius()
Get the heliocentric radius. |
double |
getRightAscension()
Get the right ascension. |
double |
hourAngle()
Get the hour angle. |
double |
jd()
Get the Julian day number. |
int |
planet()
Get the Planets number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PlanetData()
public PlanetData(int planet,
double jd,
ObsInfo oi)
planet - Planet number (from Planets class)jd - Julian day numberoi - Observer location| Method Detail |
public double calcLon(int planet,
double jd,
ObsInfo oi)
planet - Planet number (from Planets class)jd - Julian day numberoi - Observer location
public void calc(int planet,
double jd,
ObsInfo oi)
planet - Planet number (from Planets class)jd - Julian day numberoi - Observer locationpublic int planet()
public double jd()
throws NoInitException
NoInitException
public double hourAngle()
throws NoInitException
NoInitException
public double getHeliocentricLat()
throws NoInitException
NoInitException
public double getHeliocentricLon()
throws NoInitException
NoInitException
public double getHeliocentricRadius()
throws NoInitException
NoInitException
public double getEclipticLat()
throws NoInitException
NoInitException
public double getEclipticLon()
throws NoInitException
NoInitException
public double getEclipticRadius()
throws NoInitException
NoInitException
public double getEquatorialLat()
throws NoInitException
NoInitException
public double getEquatorialLon()
throws NoInitException
NoInitException
public double getEquatorialRadius()
throws NoInitException
NoInitException
public double getAltAzLat()
throws NoInitException
NoInitException
public double getAltAzLon()
throws NoInitException
NoInitException
public double getAltAzRadius()
throws NoInitException
NoInitException
public double getRightAscension()
throws NoInitException
NoInitException
public double getDeclination()
throws NoInitException
NoInitException
|
mhuss AstroLib 1.1.4a | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||