net.aerith.misao.util
Class AsteroidalOrbit

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

public class AsteroidalOrbit
extends Orbit

The AsteroidalOrbit represents a set of orbital elements of an asteroid.


Field Summary
protected  double a
          The semi major axis.
protected  double e
          The eccentricity.
protected  JulianDay epoch
          The epoch in Julian Day.
protected  double incl
          The inclination.
protected  double M
          The mean anomaly.
protected  double node
          The longitude of ascending node.
protected  double peri
          The argument of perihelion.
 
Fields inherited from class net.aerith.misao.util.Orbit
equinox, EQUINOX_B1950, EQUINOX_J2000, magnitude_formula, threshold_day, threshold_radian
 
Constructor Summary
AsteroidalOrbit()
           
 
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 setEpoch(JulianDay epoch)
          Sets the epoch in Julian Day.
 void setInclination(double incl)
          Sets the inclination.
 void setMeanAnomaly(double M)
          Sets the mean anomaly.
 void setSemiMajorAxis(double a)
          Sets the semi major axis.
 
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

epoch

protected JulianDay epoch
The epoch in Julian Day.

M

protected double M
The mean anomaly.

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.

a

protected double a
The semi major axis.
Constructor Detail

AsteroidalOrbit

public AsteroidalOrbit()
Method Detail

setEpoch

public void setEpoch(JulianDay epoch)
Sets the epoch in Julian Day.
Parameters:
epoch - the epoch in Julian Day.

setMeanAnomaly

public void setMeanAnomaly(double M)
Sets the mean anomaly.
Parameters:
M - the mean anomaly.

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.

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.

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.

setSemiMajorAxis

public void setSemiMajorAxis(double a)
Sets the semi major axis.
Parameters:
a - the semi major axis.

getSemiMinorAxis

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