|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.astro.Astroframe
public abstract class Astroframe
This abstract class defines the required methods to instanciate the definition of a frame used for astronomical coordinates.
Field Summary | |
---|---|
double |
base_epoch
The defaut epoch, a constant which cannot be changed for a frame. |
byte |
ed_lat
Default edition of Latitude/Declination |
byte |
ed_lon
Default edition of Longitude/Right Ascention * |
double |
epoch
The epoch, expressed in Julian Year. |
boolean |
hms
The sexagesimal representation of the longitude may be expressed in time unit. |
double[][] |
ICRSmatrix
The conversion to ICRS, if it is a simple rotation. |
java.lang.String |
name
The name of the frame (normally assigned at instanciation) |
byte |
precision
The defaut precision (0=unknown, 3=1', 5=1"). |
Constructor Summary | |
---|---|
Astroframe()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Equality of frames -- name + epoch are assumed fully represent any frame. |
void |
fromICRS(Coo coo)
Conversion from ICRS. |
void |
fromICRS(double[] u6)
Conversion from ICRS with derivatives. |
void |
setFrameEpoch(double epoch)
The setFrameEpoch method just set the default epoch. |
void |
setICRSmatrix()
Make the required verifications to install the ICRS matrix. |
void |
toICRS(Coo coo)
Conversion to ICRS. |
void |
toICRS(double[] u6)
Conversion to ICRS with derivatives. |
abstract double[][] |
toICRSmatrix()
Getting the matrix to rotate to ICRS system. |
java.lang.String |
toString()
Edition of an Astroframe. |
java.lang.String |
toString(double epoch)
Edition of an Astroframe with specification of the epoch. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public double base_epoch
public double epoch
public double[][] ICRSmatrix
public byte precision
public byte ed_lon
public byte ed_lat
public boolean hms
Constructor Detail |
---|
public Astroframe()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(double epoch)
public final void setICRSmatrix()
public void setFrameEpoch(double epoch)
epoch
- epoch of the frame, in Julian year.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Another object
public abstract double[][] toICRSmatrix()
public void toICRS(Coo coo)
coo
- a Coordinate assumed to express a position in my frame.
On return, coo contains the corresponding coordinate in the ICRS.public void fromICRS(Coo coo)
coo
- a Coordinate assumed to express a position in ICRS.
On return, coo gives the corresponding coordinate in my frame.public void toICRS(double[] u6)
u6
- a 6-vector (phase vector) of position + velocity.
Velocity in Jyr-1
Note that u6 can restricted be a 3-vector.public void fromICRS(double[] u6)
u6
- a 6-vector (phase vector) of position + velocity.
Velocity in Jyr-1
Note that u6 can restricted be a 3-vector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |