org.jscience.astronomy
Class Station

java.lang.Object
  extended by org.jscience.astronomy.Station
All Implemented Interfaces:
Named
Direct Known Subclasses:
EarthStation, Telescope

public class Station
extends java.lang.Object
implements Named

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

Station

public Station(java.lang.String name,
               double longitude,
               double latitude,
               double height)
Method Detail

getName

public final java.lang.String getName()
Return the station name.

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

setName

public final void setName(java.lang.String name)
Sets the station name.


getLatitude

public final double getLatitude()
Return the station geodetic (geographic) latitude (in radian).


setLatitude

public final void setLatitude(double latitude)
Sets the station geodetic (geographic) latitude (in radian).


getLongitude

public final double getLongitude()
Return the station geographic longitude (in radian).


setLongitude

public final void setLongitude(double longitude)
Sets the station geodetic (geographic) longitude (in radian).


getHeight

public final double getHeight()
Return the station elevation above sea level (in m).


setHeight

public final void setHeight(double height)
Sets the station elevation above sea level (in m).


toString

public java.lang.String toString()
Display the position in various representations.

Overrides:
toString in class java.lang.Object