skyview.geometry.csys
Class HelioeclipticCoordinateSystem
java.lang.Object
skyview.geometry.CoordinateSystem
skyview.geometry.csys.EclipticCoordinateSystem
skyview.geometry.csys.HelioeclipticCoordinateSystem
- All Implemented Interfaces:
- java.io.Serializable, Component
public class HelioeclipticCoordinateSystem
- extends EclipticCoordinateSystem
- implements Component
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.
- See Also:
- Serialized Form
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 Component
- Overrides:
getName
in class EclipticCoordinateSystem
getDescription
public java.lang.String getDescription()
- Get a description of the component.
- Specified by:
getDescription
in interface 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).