|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Site
An interface describing a geographical location on the Earth. This interface is used mainly in astronomical context. It describes methods to set and retrieve the longitude, latitude and the elevation of a site.
| Field Summary | |
|---|---|
static double[] |
ALTITUDES
The altitudes of the known observatories in meters. |
static double[] |
LATITUDES
The latitudes of the known observatories in degrees. |
static double[] |
LONGITUDES
The longitudes of the known observatories in degrees, west is negativ. |
static String[] |
OBSERVATORIES
Known observatories, names. |
| Method Summary | |
|---|---|
double |
getElevation()
Gets the elevation above sea level of this site in meters. |
double |
getLatitude()
Returns the latitude of this site. |
double |
getLongitude()
Returns the longitude of this site. |
void |
setElevation(double height)
Sets the elevation above sea level of this site in meters. |
void |
setLatitude(double phi)
Sets the latitude of this site, in radians. |
void |
setLongitude(double lambda)
Sets the longitude of this site, in radians. |
| Field Detail |
|---|
static final String[] OBSERVATORIES
static final double[] LONGITUDES
static final double[] LATITUDES
static final double[] ALTITUDES
| Method Detail |
|---|
double getLongitude()
void setLongitude(double lambda)
double getLatitude()
void setLatitude(double phi)
double getElevation()
void setElevation(double height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||