|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.astronomy.Station
public class Station
The Station class provides support for surface based observations.
| Constructor Summary | |
|---|---|
Station(java.lang.String name,
double longitude,
double latitude,
double height)
|
|
| Method Summary | |
|---|---|
double |
getHeight()
Return the station elevation above sea level (in m). |
double |
getLatitude()
Return the station geodetic (geographic) latitude (in radian). |
double |
getLongitude()
Return the station geographic longitude (in radian). |
java.lang.String |
getName()
Return the station name. |
void |
setHeight(double height)
Sets the station elevation above sea level (in m). |
void |
setLatitude(double latitude)
Sets the station geodetic (geographic) latitude (in radian). |
void |
setLongitude(double longitude)
Sets the station geodetic (geographic) longitude (in radian). |
void |
setName(java.lang.String name)
Sets the station name. |
java.lang.String |
toString()
Display the position in various representations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Station(java.lang.String name,
double longitude,
double latitude,
double height)
| Method Detail |
|---|
public final java.lang.String getName()
getName in interface Namedpublic final void setName(java.lang.String name)
public final double getLatitude()
public final void setLatitude(double latitude)
public final double getLongitude()
public final void setLongitude(double longitude)
public final double getHeight()
public final void setHeight(double height)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||