|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minetti.astrodevice.common.coordinate.system.EquatorialCoordinates
public final class EquatorialCoordinates
Immutable object representing the equatorial coordinates of a celestial position.
| Constructor Summary | |
|---|---|
EquatorialCoordinates(Coordinate rightAscension,
Coordinate declination)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Coordinate |
getDeclination()
Returns the declination δ of the celestial position. |
Coordinate |
getRightAscension()
Returns the right ascension α of the celestial position. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EquatorialCoordinates(Coordinate rightAscension,
Coordinate declination)
rightAscension - Right ascension α of the celestial position in hours (h).declination - Declination δ of the celestial position in degrees (°).| Method Detail |
|---|
public Coordinate getRightAscension()
public Coordinate getDeclination()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||