healpix.tools
Class CoordTransform

java.lang.Object
  extended byhealpix.tools.CoordTransform

public final class CoordTransform
extends java.lang.Object


Field Summary
protected static double[][] ctheta
           
protected static double degToRad
           
static int ECL2EQ
           
static int ECL2GAL
           
static int EQ2ECL
           
static int EQ2GAL
           
protected static double fourPi
           
static int GAL2ECL
           
static int GAL2EQ
           
protected static double[][] phi
           
protected static double pi
           
protected static double[][] psi
           
protected static double[][] stheta
           
protected static double twoPi
           
 
Constructor Summary
CoordTransform()
           
 
Method Summary
static AngularPosition transform(AngularPosition pos, int trType)
          Transforms an angular position in radians in a given coordinate system to a position in an other coordinate system, also in radians.
static AngularPosition transformInDeg(AngularPosition pos, int trType)
          Transforms an angular position in degrees in a given coordinate system to a position in an other coordinate systems, also in degrees.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pi

protected static final double pi
See Also:
Constant Field Values

twoPi

protected static final double twoPi
See Also:
Constant Field Values

fourPi

protected static final double fourPi
See Also:
Constant Field Values

degToRad

protected static final double degToRad
See Also:
Constant Field Values

psi

protected static final double[][] psi

stheta

protected static final double[][] stheta

ctheta

protected static final double[][] ctheta

phi

protected static final double[][] phi

EQ2GAL

public static final int EQ2GAL
See Also:
Constant Field Values

GAL2EQ

public static final int GAL2EQ
See Also:
Constant Field Values

EQ2ECL

public static final int EQ2ECL
See Also:
Constant Field Values

ECL2EQ

public static final int ECL2EQ
See Also:
Constant Field Values

ECL2GAL

public static final int ECL2GAL
See Also:
Constant Field Values

GAL2ECL

public static final int GAL2ECL
See Also:
Constant Field Values
Constructor Detail

CoordTransform

public CoordTransform()
Method Detail

transform

public static final AngularPosition transform(AngularPosition pos,
                                              int trType)
                                       throws java.lang.Exception
Transforms an angular position in radians in a given coordinate system to a position in an other coordinate system, also in radians. RA-Dec position are intended in Equinox J2000

Throws:
java.lang.Exception

transformInDeg

public static final AngularPosition transformInDeg(AngularPosition pos,
                                                   int trType)
                                            throws java.lang.Exception
Transforms an angular position in degrees in a given coordinate system to a position in an other coordinate systems, also in degrees. RA-Dec position are intended in Equinox J2000

Throws:
java.lang.Exception