Package uk.ac.starlink.pal
Class Galactic
- java.lang.Object
-
- uk.ac.starlink.pal.Galactic
-
public class Galactic extends java.lang.Object
Galactic longitude and latitude (radians)
-
-
Constructor Summary
Constructors Constructor Description Galactic(double a, double b)
Galactic longitude and latitude
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getLatitude()
Get the Latitudedouble
getLongitude()
Get the Longitudejava.lang.String
toString()
Get the text form of the Galactic in the form [long,lat]
-
-
-
Method Detail
-
getLongitude
public double getLongitude()
Get the Longitude- Returns:
- Longitude in radians
-
getLatitude
public double getLatitude()
Get the Latitude- Returns:
- Latitude in radians
-
toString
public java.lang.String toString()
Get the text form of the Galactic in the form [long,lat]- Overrides:
toString
in classjava.lang.Object
-
-