net.aerith.misao.util
Class Orbit

java.lang.Object
  |
  +--net.aerith.misao.util.Orbit
Direct Known Subclasses:
AsteroidalOrbit, CometaryOrbit

public abstract class Orbit
extends java.lang.Object

The Orbit represents a set of orbital elements and magnitude formulas.


Field Summary
protected  int equinox
          The equinox.
static int EQUINOX_B1950
          The equinox number which indicates B1950.0.
static int EQUINOX_J2000
          The equinox number which indicates J2000.0.
protected  MagnitudeFormula magnitude_formula
          The magnitude formula
protected static double threshold_day
          The threshold to converge in day.
protected static double threshold_radian
          The threshold to converge in radian.
 
Constructor Summary
Orbit()
           
 
Method Summary
 EphemerisRecord calculateEphemeris(JulianDay jd)
          Calculates the ephemeris.
abstract  double getAphelionDistance()
          Gets the aphelion distance.
abstract  double getArgumentOfPerihelion()
          Gets the argument of perihelion.
abstract  double getAscendingNode()
          Gets the longitude of ascending node.
abstract  double getEccentricity()
          Gets the eccentricity.
 Coor getEclipticCoordinatesOfPerihelion()
          Gets the ecliptic coordinates of the perihelion.
abstract  double getInclination()
          Gets the inclination.
 double getMeanMotion()
          Gets the mean motion in degree.
abstract  JulianDay getPerihelionDate()
          Gets the perihelion passage date in Julian Day.
abstract  double getPerihelionDistance()
          Gets the perihelion distance.
 double getPeriod()
          Gets the period in year.
abstract  double getSemiMajorAxis()
          Gets the semi major axis.
abstract  double getSemiMinorAxis()
          Gets the semi minor axis.
 void setMagnitudeFormula(MagnitudeFormula formula)
          Sets the magnitude formula.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

EQUINOX_J2000

public static final int EQUINOX_J2000
The equinox number which indicates J2000.0.

EQUINOX_B1950

public static final int EQUINOX_B1950
The equinox number which indicates B1950.0.

equinox

protected int equinox
The equinox.

threshold_radian

protected static final double threshold_radian
The threshold to converge in radian.

threshold_day

protected static final double threshold_day
The threshold to converge in day.

magnitude_formula

protected MagnitudeFormula magnitude_formula
The magnitude formula
Constructor Detail

Orbit

public Orbit()
Method Detail

getPerihelionDate

public abstract JulianDay getPerihelionDate()
Gets the perihelion passage date in Julian Day.
Returns:
the perihelion passage date in Julian Day.

getArgumentOfPerihelion

public abstract double getArgumentOfPerihelion()
Gets the argument of perihelion.
Returns:
the argument of perihelion.

getAscendingNode

public abstract double getAscendingNode()
Gets the longitude of ascending node.
Returns:
the longitude of ascending node.

getInclination

public abstract double getInclination()
Gets the inclination.
Returns:
the inclination.

getEccentricity

public abstract double getEccentricity()
Gets the eccentricity.
Returns:
the eccentricity.

getPerihelionDistance

public abstract double getPerihelionDistance()
Gets the perihelion distance.
Returns:
the perihelion distance.

getAphelionDistance

public abstract double getAphelionDistance()
Gets the aphelion distance.
Returns:
the aphelion distance.

getSemiMajorAxis

public abstract double getSemiMajorAxis()
Gets the semi major axis.
Returns:
the semi major axis.

getSemiMinorAxis

public abstract double getSemiMinorAxis()
Gets the semi minor axis.
Returns:
the semi minor axis.

getMeanMotion

public double getMeanMotion()
Gets the mean motion in degree.
Returns:
the mean motion in degree.

getPeriod

public double getPeriod()
Gets the period in year.
Returns:
the period in year.

getEclipticCoordinatesOfPerihelion

public Coor getEclipticCoordinatesOfPerihelion()
Gets the ecliptic coordinates of the perihelion.
Returns:
the ecliptic coordinates of the perihelion.

setMagnitudeFormula

public void setMagnitudeFormula(MagnitudeFormula formula)
Sets the magnitude formula.
Parameters:
formula - the magnitude formula.

calculateEphemeris

public EphemerisRecord calculateEphemeris(JulianDay jd)
Calculates the ephemeris.
Parameters:
jd - the Julian Day.
Returns:
the ephemeris.