|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectastro.SimpleSite
astro.AptSite
public class AptSite
A Site implementation describing the location of Stella.
| Field Summary | |
|---|---|
static double |
ELEVATION_WC
The elevation of Teide observatory, Tenerife (2400m). |
static double |
LAT_WC
The latitude of Teide observatory, Tenerife (0.4939282 rad). |
static double |
LONG_WC
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 | |
|---|---|
AptSite()
Constructs a site instance representing the teide observatory. |
|
AptSite(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_WC
public static final double LAT_WC
public static final double ELEVATION_WC
private static final String NAME
| Constructor Detail |
|---|
public AptSite()
public AptSite(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 | |||||||||