|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectastro.SimpleSite
astro.TenerifeSite
public class TenerifeSite
A Site implementation describing the location of Stella.
| Field Summary | |
|---|---|
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. |
| Fields inherited from interface astro.Site |
|---|
ALTITUDES, LATITUDES, LONGITUDES, OBSERVATORIES |
| Fields inherited from interface vec_math.PI |
|---|
HOUR, PIHALF, PITWO, RADIAN |
| Constructor Summary | |
|---|---|
TenerifeSite()
Constructs a site instance representing the teide observatory. |
|
TenerifeSite(double lambda,
double phi,
double height)
Constructs a site instance representing the teide observatory. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class astro.SimpleSite |
|---|
equals, getElevation, getLatitude, getLongitude |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double LONG_TEIDE
public static final double LAT_TEIDE
public static final double ELEVATION_TEIDE
private static final String NAME
| Constructor Detail |
|---|
public TenerifeSite()
public TenerifeSite(double lambda,
double phi,
double height)
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||