cds.astro
Class ICRS

java.lang.Object
  extended by cds.astro.Astroframe
      extended by cds.astro.ICRS
All Implemented Interfaces:
java.io.Serializable

public class ICRS
extends Astroframe

The ICRS frame (International Celestial Reference System) is defined by the Hipparcos mission. It is also named ICRF.

See Also:
Serialized Form

Field Summary
static java.lang.String class_name
          Name of this firame.
 
Fields inherited from class cds.astro.Astroframe
base_epoch, ed_lat, ed_lon, epoch, hms, IAUframes, ICRSmatrix, name, precision
 
Constructor Summary
ICRS()
          Instanciate an ICRS frame
ICRS(double epoch)
          Instanciate an ICRS frame
ICRS(java.lang.String text)
          Instanciate an ICRS frame
 
Method Summary
 void fromICRS(Coo coo)
          Convert the position from the ICRS frame.
 void fromICRS(double[] u)
          Convert the position from the ICRS frame.
 void toICRS(Coo coo)
          Convert the position to its ICRS equivalent.
 void toICRS(double[] u)
          Convert the position to its ICRS equivalent.
 double[][] toICRSmatrix()
          Get the conversion to ICRS matrix
 
Methods inherited from class cds.astro.Astroframe
create, create, equals, equals, isIAU, parse, setFrameEpoch, setICRSmatrix, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

class_name

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

Constructor Detail

ICRS

public ICRS(double epoch)
Instanciate an ICRS frame

Parameters:
epoch - the default epoch, in Julian years

ICRS

public ICRS()
Instanciate an ICRS frame


ICRS

public ICRS(java.lang.String text)
     throws java.text.ParseException
Instanciate an ICRS frame

Parameters:
text - the default epoch, e.g. "J1991.25"
Throws:
java.text.ParseException
Method Detail

toICRSmatrix

public double[][] toICRSmatrix()
Get the conversion to ICRS matrix

Specified by:
toICRSmatrix in class Astroframe
Returns:
Indentity matrix

toICRS

public void toICRS(Coo coo)
Convert the position to its ICRS equivalent.

Overrides:
toICRS in class Astroframe
Parameters:
coo - on input the position in this frame; on ouput the ICRS

fromICRS

public void fromICRS(Coo coo)
Convert the position from the ICRS frame.

Overrides:
fromICRS in class Astroframe
Parameters:
coo - on input the ICRS position, on output its local equivalent

toICRS

public void toICRS(double[] u)
Convert the position to its ICRS equivalent.

Overrides:
toICRS in class Astroframe
Parameters:
u - a 6-vector

fromICRS

public void fromICRS(double[] u)
Convert the position from the ICRS frame.

Overrides:
fromICRS in class Astroframe
Parameters:
u - a 6-vector