public class Observatory extends Object
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Get Height
|
String |
getId()
Get identifier
|
double |
getLat()
Get Latitude
|
double |
getLong()
Get Longitude
|
String |
getName()
Get Name
|
static int |
getObservatoryCount()
Return the number of observatories available
|
static String |
getObservatoryID(int i)
Get the short identifier of an observatory
|
static String |
getObservatoryName(int i)
Get the name of an observatory
|
String |
printPosition()
Get the longitude, latitude and height as a string
|
String |
printPosition(int ndp)
Get the longitude, latitude and height as a string
|
String |
toString()
Get the name of the Observatory as a string
|
public String getId()
public String getName()
public double getLong()
public double getLat()
public double getHeight()
public String printPosition()
public String printPosition(int ndp)
ndp
- Number of decimal places in answerpublic String toString()
public static int getObservatoryCount()
public static String getObservatoryName(int i)
i
- index of the observatorypublic static String getObservatoryID(int i)
i
- index of the observatoryCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.