Class Galactic

  extended by cds.astro.Astroframe
      extended by cds.astro.Galactic
All Implemented Interfaces:

public class Galactic
extends Astroframe

The Galactic frame is defined such that the plane of our Galaxy (the Milky Way) has a latitude close to zero. The galactic center has a position (0,0) in this system. It was originally defined by reference to the FK4 System.

See Also:
Serialized Form

Field Summary
static java.lang.String class_name
          Name of this frame.
static double[][] gal_1950
          Rotation matrix to move from FK4 to Galactic.
static double[][] gal_2000
          Rotation matrix to move from FK5 to Galactic.
Fields inherited from class cds.astro.Astroframe
base_epoch, ed_lat, ed_lon, epoch, hms, IAUframes, ICRSmatrix, name, precision
Constructor Summary
          Instanciate an Galactic frame
Method Summary
 double[][] toICRSmatrix()
          Defines the rotation matrix to rotate to ICRS
Methods inherited from class cds.astro.Astroframe
create, create, equals, equals, fromICRS, fromICRS, isIAU, parse, setFrameEpoch, setICRSmatrix, toICRS, toICRS, toString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static java.lang.String class_name
Name of this frame.


public static final double[][] gal_1950
Rotation matrix to move from FK4 to Galactic.


public static final double[][] gal_2000
Rotation matrix to move from FK5 to Galactic. (from Hipparcos documentation vol1, Eq. 1.5.11, see transformed to have a truly orthogonal matrix.

Constructor Detail


public Galactic()
Instanciate an Galactic frame

Method Detail


public double[][] toICRSmatrix()
Defines the rotation matrix to rotate to ICRS

Specified by:
toICRSmatrix in class Astroframe
the 3x3 rotation matrix to convert a position in ICRS frame