Package uk.ac.starlink.pal
Class Galactic
- java.lang.Object
-
- uk.ac.starlink.pal.Galactic
-
public class Galactic extends java.lang.ObjectGalactic 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 doublegetLatitude()Get the LatitudedoublegetLongitude()Get the Longitudejava.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-