Class CelestialCordinates

java.lang.Object
velo.ladaalpha.fields.astronomy.CelestialCordinates

public class CelestialCordinates extends Object
The Class CelestialCordinates.
  • Constructor Details

    • CelestialCordinates

      public CelestialCordinates(double declination, double right_ascension)
      Instantiates a new celestial cordinates.
      Parameters:
      declination - the declination
      right_ascension - the right ascension
  • Method Details

    • radiansFromRightAscension

      public static double radiansFromRightAscension(double hours, double minutes, double seconds)
      Radians from right ascension.
      Parameters:
      hours - the hours
      minutes - the minutes
      seconds - the seconds
      Returns:
      the double
    • getDeclination

      public double getDeclination()
      Gets the declination.
      Returns:
      the declination
    • setDeclination

      public void setDeclination(double declination)
      Sets the declination.
      Parameters:
      declination - the declination to set
    • getRight_ascension

      public double getRight_ascension()
      Gets the right ascension.
      Returns:
      the right_ascension
    • setRight_ascension

      public void setRight_ascension(double right_ascension)
      Sets the right ascension.
      Parameters:
      right_ascension - the right_ascension to set