public class TenerifeSite extends SimpleSite
Site implementation describing the location of Stella.| Modifier and Type | Field and Description |
|---|---|
static double |
ELEVATION_TEIDE
The elevation of Teide observatory, Tenerife (2400m).
|
static double |
LAT_TEIDE
The latitude of Teide observatory, Tenerife (0.4939282 rad).
|
static double |
LONG_TEIDE
The longitude of Teide observatory, Tenerife (-0.288149 rad).
|
private static String |
NAME
The name of the site.
|
ALTITUDES, LATITUDES, LONGITUDES, OBSERVATORIES| Constructor and Description |
|---|
TenerifeSite()
Constructs a site instance representing the teide observatory.
|
TenerifeSite(double lambda,
double phi,
double height)
Constructs a site instance representing the teide observatory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setElevation(double dummy)
This site represents only Teide observatory, so the
elevation is a read-only property.
|
void |
setLatitude(double dummy)
This site represents only Teide observatory, so the
latitude is a read-only property.
|
void |
setLongitude(double dummy)
This site represents only Teide observatory, so the
longitude is a read-only property.
|
String |
toString()
Adds the name of this site to the output string.
|
equals, getElevation, getLatitude, getLongitudepublic static final double LONG_TEIDE
public static final double LAT_TEIDE
public static final double ELEVATION_TEIDE
private static final String NAME
public TenerifeSite()
public TenerifeSite(double lambda,
double phi,
double height)
public void setLongitude(double dummy)
setLongitude in interface SitesetLongitude in class SimpleSitepublic void setLatitude(double dummy)
setLatitude in interface SitesetLatitude in class SimpleSitepublic void setElevation(double dummy)
setElevation in interface SitesetElevation in class SimpleSitepublic String toString()
toString in class SimpleSite