Interface EquatorialCoordinates

All Known Implementing Classes:
MoonPosition, SunPosition

public interface EquatorialCoordinates
Describes a celestial coordinate system which projects the earth equator and poles onto the celestial sphere using right ascension and declination in the reference frame J2000 as epoch.

See also: Wikipedia. The effect of precession will have an impact on right ascension and declination if times far away from year 2000 are considered.

Since:
4.37
Author:
Meno Hochschild
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Obtains the declination in degrees.
    double
    Obtains the right ascension in degrees.
    default String
    Obtains the right ascension in HMS-format ##H:MM:SS where a fraction of second will be truncated.
  • Method Details

    • getRightAscensionHMS

      default String getRightAscensionHMS()

      Obtains the right ascension in HMS-format ##H:MM:SS where a fraction of second will be truncated.

      Returns:
      String
    • getRightAscension

      double getRightAscension()

      Obtains the right ascension in degrees.

      Returns:
      double in range 0-360
    • getDeclination

      double getDeclination()

      Obtains the declination in degrees.

      Returns:
      double