uk.ac.starlink.pal
Class Galactic

java.lang.Object
  extended by uk.ac.starlink.pal.Galactic

public class Galactic
extends Object

Galactic longitude and latitude (radians)


Constructor Summary
Galactic(double a, double b)
          Galactic longitude and latitude
 
Method Summary
 double getLatitude()
          Get the Latitude
 double getLongitude()
          Get the Longitude
 String toString()
          Get the text form of the Galactic in the form [long,lat]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Galactic

public Galactic(double a,
                double b)
Galactic longitude and latitude

Parameters:
a - Longitude in radians
b - Latitude in radians
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 String toString()
Get the text form of the Galactic in the form [long,lat]

Overrides:
toString in class Object


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.