net.aerith.misao.util
Class CometaryOrbit

java.lang.Object
  |
  +--net.aerith.misao.util.Orbit
        |
        +--net.aerith.misao.util.CometaryOrbit

public class CometaryOrbit
extends Orbit

The CometaryOrbit represents a set of orbital elements of a comet.


Field Summary
protected  double e
          The eccentricity.
protected  double incl
          The inclination.
protected  double node
          The longitude of ascending node.
protected  double peri
          The argument of perihelion.
protected  double q
          The perihelion distance.
protected  JulianDay T
          The perihelion passage date in Julian Day.
 
Fields inherited from class net.aerith.misao.util.Orbit
equinox, EQUINOX_B1950, EQUINOX_J2000, magnitude_formula, threshold_day, threshold_radian
 
Constructor Summary
CometaryOrbit()
           
 
Method Summary
 double getAphelionDistance()
          Gets the aphelion distance.
 double getArgumentOfPerihelion()
          Gets the argument of perihelion.
 double getAscendingNode()
          Gets the longitude of ascending node.
 double getEccentricity()
          Gets the eccentricity.
 double getInclination()
          Gets the inclination.
 JulianDay getPerihelionDate()
          Gets the perihelion passage date in Julian Day.
 double getPerihelionDistance()
          Gets the perihelion distance.
 double getSemiMajorAxis()
          Gets the semi major axis.
 double getSemiMinorAxis()
          Gets the semi minor axis.
 void setArgumentOfPerihelion(double peri)
          Sets the argument of perihelion.
 void setAscendingNode(double node)
          Sets the longitude of ascending node.
 void setEccentricity(double e)
          Sets the eccentricity.
 void setInclination(double incl)
          Sets the inclination.
 void setPerihelionDate(JulianDay T)
          Sets the perihelion passage date in Julian Day.
 void setPerihelionDistance(double q)
          Sets the perihelion distance.
 
Methods inherited from class net.aerith.misao.util.Orbit
calculateEphemeris, getEclipticCoordinatesOfPerihelion, getMeanMotion, getPeriod, setMagnitudeFormula
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

T

protected JulianDay T
The perihelion passage date in Julian Day.

peri

protected double peri
The argument of perihelion.

node

protected double node
The longitude of ascending node.

incl

protected double incl
The inclination.

e

protected double e
The eccentricity.

q

protected double q
The perihelion distance.
Constructor Detail

CometaryOrbit

public CometaryOrbit()
Method Detail

getPerihelionDate

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

setPerihelionDate

public void setPerihelionDate(JulianDay T)
Sets the perihelion passage date in Julian Day.
Parameters:
T - the perihelion passage date in Julian Day.

getArgumentOfPerihelion

public double getArgumentOfPerihelion()
Gets the argument of perihelion.
Overrides:
getArgumentOfPerihelion in class Orbit
Returns:
the argument of perihelion.

setArgumentOfPerihelion

public void setArgumentOfPerihelion(double peri)
Sets the argument of perihelion.
Parameters:
peri - the argument of perihelion.

getAscendingNode

public double getAscendingNode()
Gets the longitude of ascending node.
Overrides:
getAscendingNode in class Orbit
Returns:
the longitude of ascending node.

setAscendingNode

public void setAscendingNode(double node)
Sets the longitude of ascending node.
Parameters:
node - the longitude of ascending node.

getInclination

public double getInclination()
Gets the inclination.
Overrides:
getInclination in class Orbit
Returns:
the inclination.

setInclination

public void setInclination(double incl)
Sets the inclination.
Parameters:
incl - the inclination.

getEccentricity

public double getEccentricity()
Gets the eccentricity.
Overrides:
getEccentricity in class Orbit
Returns:
the eccentricity.

setEccentricity

public void setEccentricity(double e)
Sets the eccentricity.
Parameters:
e - the eccentricity.

getPerihelionDistance

public double getPerihelionDistance()
Gets the perihelion distance.
Overrides:
getPerihelionDistance in class Orbit
Returns:
the perihelion distance.

setPerihelionDistance

public void setPerihelionDistance(double q)
Sets the perihelion distance.
Parameters:
q - the perihelion distance.

getAphelionDistance

public double getAphelionDistance()
Gets the aphelion distance.
Overrides:
getAphelionDistance in class Orbit
Returns:
the aphelion distance.

getSemiMajorAxis

public double getSemiMajorAxis()
Gets the semi major axis.
Overrides:
getSemiMajorAxis in class Orbit
Returns:
the semi major axis.

getSemiMinorAxis

public double getSemiMinorAxis()
Gets the semi minor axis.
Overrides:
getSemiMinorAxis in class Orbit
Returns:
the semi minor axis.