Package velo.ladaalpha.fields.astronomy
Class CelestialCordinates
java.lang.Object
velo.ladaalpha.fields.astronomy.CelestialCordinates
The Class CelestialCordinates.
- 
Constructor Summary
ConstructorsConstructorDescriptionCelestialCordinates(double declination, double right_ascension) Instantiates a new celestial cordinates. - 
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the declination.doubleGets the right ascension.static doubleradiansFromRightAscension(double hours, double minutes, double seconds) Radians from right ascension.voidsetDeclination(double declination) Sets the declination.voidsetRight_ascension(double right_ascension) Sets the right ascension. 
- 
Constructor Details
- 
CelestialCordinates
public CelestialCordinates(double declination, double right_ascension) Instantiates a new celestial cordinates.- Parameters:
 declination- the declinationright_ascension- the right ascension
 
 - 
 - 
Method Details
- 
radiansFromRightAscension
public static double radiansFromRightAscension(double hours, double minutes, double seconds) Radians from right ascension.- Parameters:
 hours- the hoursminutes- the minutesseconds- 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
 
 -