org.jscience.astronomy.solarsystem.coordinates.coordinatesystems
Class HelioeclipticCoordinateSystem
java.lang.Object
org.jscience.astronomy.solarsystem.coordinates.CoordinateSystem
org.jscience.astronomy.solarsystem.coordinates.coordinatesystems.EclipticCoordinateSystem
org.jscience.astronomy.solarsystem.coordinates.coordinatesystems.HelioeclipticCoordinateSystem
- All Implemented Interfaces:
- Named
public class HelioeclipticCoordinateSystem
- extends EclipticCoordinateSystem
- implements Named
A helioecliptic coordinate system at a given epoch.
This gives a coordinate system where the Sun is at the
center of the coordinate system. We assume that the same epoch
is to be used to get the position of the Sun and the basis
Ecliptic coordinate system.
|
Method Summary |
java.lang.String |
getDescription()
Get a description of the component. |
java.lang.String |
getName()
Get the name of the component. |
static double |
sunlong(double epoch)
Find the ecliptic longitude of the Sun at a given epoch. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelioeclipticCoordinateSystem
public HelioeclipticCoordinateSystem(double epoch)
- Get a coordinate system at a given epoch.
- Parameters:
epoch - The desired epoch
getName
public java.lang.String getName()
- Get the name of the component.
- Specified by:
getName in interface Named- Overrides:
getName in class EclipticCoordinateSystem
- Returns:
- DOCUMENT ME!
getDescription
public java.lang.String getDescription()
- Get a description of the component.
- Overrides:
getDescription in class EclipticCoordinateSystem
sunlong
public static double sunlong(double epoch)
- Find the ecliptic longitude of the Sun at a given epoch.
Algorithm derived (and simplified) from the IDL Astronomy
library sunpos (C.D. Pike, B. Emerson).
- Parameters:
Epoch - (in years).