Class Galactic
java.lang.Object
uk.ac.starlink.pal.Galactic
Galactic longitude and latitude (radians)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the LatitudedoubleGet the LongitudetoString()Get the text form of the Galactic in the form [long,lat]
-
Constructor Details
-
Galactic
public Galactic(double a, double b) Galactic longitude and latitude- Parameters:
a- Longitude in radiansb- Latitude in radians
-
-
Method Details
-
getLongitude
public double getLongitude()Get the Longitude- Returns:
- Longitude in radians
-
getLatitude
public double getLatitude()Get the Latitude- Returns:
- Latitude in radians
-
toString
-