|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minetti.astrodevice.common.coordinate.RadianCoordinate
public final class RadianCoordinate
Immutable object representing a coordinate stored as radian.
| Constructor Summary | |
|---|---|
RadianCoordinate(boolean hourAngle,
double radian)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(Coordinate obj)
|
boolean |
equals(Object obj)
|
int |
getAngle()
Returns the angle part of coordinate. |
int |
getMinutes()
Returns the minutes part of coordinate. |
double |
getRadian()
Returns the full value of the coordinate in radian. |
double |
getSeconds()
Returns the seconds part of coordinate. |
double |
getValue()
Returns the full value of the coordinate. |
int |
hashCode()
|
boolean |
isHourAngle()
Returns TRUE if the coordinate is an hour angle and therefore expressed in hours (not in degrees). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RadianCoordinate(boolean hourAngle,
double radian)
hourAngle - TRUE if the coordinate is an hour angle and therefore expressed in hours (not in
degrees).radian - Full value of the coordinate in radian (rad).| Method Detail |
|---|
public boolean isHourAngle()
CoordinateTRUE if the coordinate is an hour angle and therefore expressed in hours (not in degrees).
isHourAngle in interface CoordinateTRUE if the coordinate is expressed in hours (not in degrees).public double getRadian()
Coordinate
getRadian in interface Coordinatepublic double getValue()
Coordinate
getValue in interface Coordinatepublic int getAngle()
Coordinate
getAngle in interface Coordinatepublic int getMinutes()
Coordinate
getMinutes in interface Coordinatepublic double getSeconds()
Coordinate
getSeconds in interface Coordinatepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(Coordinate obj)
compareTo in interface Comparable<Coordinate>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||