net.aerith.misao.util
Class EphemerisRecord

java.lang.Object
  |
  +--net.aerith.misao.util.EphemerisRecord

public class EphemerisRecord
extends java.lang.Object

The EphemerisRecord represents a set of parameters of the ephemeris, such as R.A. and Decl., heliocentric distance, geocentric distance, magnitude, etc.


Field Summary
protected  Coor coor
          The R.A.
protected  double delta
          The geocentric distance.
protected  double elongation
          The elongation.
protected  JulianDay jd
          The Julian Day.
protected  double magnitude
          The magnitude.
protected  double phase_angle
          The phase angle.
protected  double r
          The heliocentric distance.
 
Constructor Summary
EphemerisRecord(JulianDay jd, Xyz xyz)
          Constructs an EphemerisRecord.
 
Method Summary
 Coor getCoor()
          Gets the R.A.
 double getElongation()
          Gets the elongation.
 double getGeocentricDistance()
          Gets the geocentric distance.
 double getHeliocentricDistance()
          Gets the heliocentric distance.
 JulianDay getJD()
          Gets the Julian Day.
 double getMagnitude()
          Gets the magnitude.
 double getPhaseAngle()
          Gets the phase angle.
 void setMagnitude(double magnitude)
          Sets the magnitude.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

jd

protected JulianDay jd
The Julian Day.

coor

protected Coor coor
The R.A. and Decl.

r

protected double r
The heliocentric distance.

delta

protected double delta
The geocentric distance.

elongation

protected double elongation
The elongation.

phase_angle

protected double phase_angle
The phase angle.

magnitude

protected double magnitude
The magnitude.
Constructor Detail

EphemerisRecord

public EphemerisRecord(JulianDay jd,
                       Xyz xyz)
Constructs an EphemerisRecord.
Parameters:
jd - the Julian Day.
xyz - the equatorial coordinates in J2000.0.
Method Detail

getJD

public JulianDay getJD()
Gets the Julian Day.
Returns:
the Julian Day.

getCoor

public Coor getCoor()
Gets the R.A. and Decl.
Returns:
the R.A. and Decl.

getHeliocentricDistance

public double getHeliocentricDistance()
Gets the heliocentric distance.
Returns:
the heliocentric distance.

getGeocentricDistance

public double getGeocentricDistance()
Gets the geocentric distance.
Returns:
the geocentric distance.

getElongation

public double getElongation()
Gets the elongation.
Returns:
the elongation.

getPhaseAngle

public double getPhaseAngle()
Gets the phase angle.
Returns:
the phase angle.

getMagnitude

public double getMagnitude()
Gets the magnitude.
Returns:
the magnitude.

setMagnitude

public void setMagnitude(double magnitude)
Sets the magnitude.
Parameters:
magnitude - the magnitude.