|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.util.Nodata
cds.simbad.BasicData
cds.simbad.PosData
cds.simbad.Coordinates
Field Summary | |
private Astroframe |
coordframe
|
private static double |
DEFAULT_EQUINOX
|
private static int |
DEFAULT_FRAME
|
private static int |
LEVEL
|
private Qbox |
qbox
|
Fields inherited from class cds.simbad.PosData |
|
Fields inherited from class cds.simbad.BasicData |
dataExists |
Fields inherited from class cds.util.Nodata |
NODATA, NODATA_DBL, NODATA_FLT, NODATA_SHT, NODATA_STR |
Constructor Summary | |
Coordinates()
Constructor without parameters. |
|
Coordinates(Coordinates coo)
Copy constructor |
|
Coordinates(java.lang.String coostr,
ErrorData error,
java.lang.String qual,
Bibcode bibcode)
Constructor defining a complete coordinates object. |
Method Summary | |
void |
convert(int frame,
double equi)
Converts the coordinates to another frame |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. |
Coobox |
getCooBox()
Acces to actual qbox index |
Astroframe |
getCoord()
Get the Astroframe object |
double |
getDec()
Get the declination |
short |
getDecPrec()
Get the declination precision |
java.lang.String |
getDecStr()
Get declination edited in sexagesimal |
double |
getRa()
Get the right ascension |
short |
getRaPrec()
Get the right ascention precision |
java.lang.String |
getRaStr()
Get the right ascension in sexagesimal format |
private void |
init()
Initialize fields (only used by the constructors) |
void |
set(Coordinates coo)
Sets the coordinates from another Coordinates object |
void |
set(double ra,
double dec,
short prec)
Sets the coordinates values |
void |
set(double ra,
double dec,
short prec,
ErrorData error,
java.lang.String qual,
Bibcode bibcode)
Sets coordinates attributes |
void |
set(java.lang.String coo)
Sets the coordinates value |
void |
set(java.lang.String coostr,
ErrorData error,
java.lang.String qual,
Bibcode bibcode)
Positionnement des attributs |
static int |
setLevel(int level)
Sets the level used for computing the coordinates box. |
java.lang.String |
toString()
Fonction d'edition Par defaut, sortie en Sexagesimal |
java.lang.String |
toString(java.lang.String options)
Fonction d'edition |
Methods inherited from class cds.simbad.PosData |
getBibcode, getError, getQuality, set, setBibcode, setBibcode, setError, setQuality |
Methods inherited from class cds.simbad.BasicData |
exists, setExist, setNodata |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static int LEVEL
private static int DEFAULT_FRAME
private static double DEFAULT_EQUINOX
private Qbox qbox
private Astroframe coordframe
Constructor Detail |
public Coordinates()
public Coordinates(java.lang.String coostr, ErrorData error, java.lang.String qual, Bibcode bibcode)
coostr
- coordinates as a string containing RA+DECerror
- error ellipsequal
- qualitybibcode
- bibcodepublic Coordinates(Coordinates coo)
coo
- Coordinates object to copyMethod Detail |
private void init()
public void set(Coordinates coo)
coo
- Coordinates object to copypublic void set(java.lang.String coostr, ErrorData error, java.lang.String qual, Bibcode bibcode)
coostr
- position sous forme de chaine de caractereserror
- erreur ou ellipse d'erreurqual
- qualitebibcode
- bibcodepublic void set(double ra, double dec, short prec, ErrorData error, java.lang.String qual, Bibcode bibcode)
ra
- right ascensiondec
- declinationprec
- precisionerror
- erreur ou ellipse d'erreurqual
- qualitebibcode
- bibcodepublic void set(java.lang.String coo)
coo
- coordinates as a string. ra & dec must be separated by a signpublic static int setLevel(int level)
level
- level for coordinates boxes (simbad3:5, simbad4:6)
public void set(double ra, double dec, short prec)
ra
- right ascensiondec
- declinationprec
- precisionpublic Astroframe getCoord()
public double getRa()
public short getRaPrec()
public java.lang.String getRaStr()
public double getDec()
public short getDecPrec()
public java.lang.String getDecStr()
public Coobox getCooBox()
public void convert(int frame, double equi)
frame
- new frameequi
- new equinoxpublic java.lang.String toString()
toString
in class PosData
public java.lang.String toString(java.lang.String options)
options
- a string with the option letters having the meaning:d = edit in Decimal s = edit in Sexagesimal : = separate sexagesimal parts with the colon f = edit also the frame (system+equinox) F = edit in full precision (ignore the precision of the system)
public boolean equals(java.lang.Object o)
o
- Objet a comparer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |