Class ObsPosition
java.lang.Object
uk.ac.starlink.pal.ObsPosition
Position of Observer
-
Constructor Summary
ConstructorsConstructorDescriptionObsPosition(double lon, double lat, double height) Position of ObserverObsPosition(double lon, double lat, double height, double rad) Position of Observer -
Method Summary
-
Constructor Details
-
ObsPosition
public ObsPosition(double lon, double lat, double height) Position of Observer- Parameters:
lon- Longitudelat- Latitudeheight- Height
-
ObsPosition
public ObsPosition(double lon, double lat, double height, double rad) Position of Observer- Parameters:
lon- Longitudelat- Latitudeheight- Heightrad- Radial velocity
-
-
Method Details
-
getLongitude
public double getLongitude()Get the longitude- Returns:
- Longitude
-
getLatitude
public double getLatitude()Get the latitude- Returns:
- Latitude
-
getHeight
public double getHeight()Get the Height- Returns:
- Height
-
getRad
public double getRad()Get the radial velocity- Returns:
- Radial velocity
-
toString
-