|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jephem.astro.sky.Constellations
Holds data and methods to handle constellations.
Field Summary |
Fields inherited from interface jephem.astro.sky.ConstellationConstants |
And, Ant, Aps, Aql, Aqr, Ara, Ari, Aur, Boo, Cae, Cam, Cap, Car, Cas, Cen, Cep, Cet, Cha, Cir, CMa, CMi, Cnc, Col, Com, CrA, CrB, Crt, Cru, Crv, CVn, Cyg, Del, Dor, Dra, Equ, Eri, For, Gem, Gru, Her, Hor, Hya, Hyi, Ind, Lac, Leo, Lep, Lib, LMi, Lup, Lyn, Lyr, Men, Mic, Mon, Mus, NB_CONSTELLATIONS, Nor, Oct, Oph, Ori, Pav, Peg, Per, Phe, Pic, PsA, Pse, Pup, Pyx, Ret, Scl, Sco, Sct, Ser, SerA, SerB, Sex, Sge, Sgr, Tau, Tel, TrA, Tri, Tuc, UMa, UMi, Vel, Vir, Vol, Vul |
Fields inherited from interface tig.GeneralConstants |
BLANK, FS, LS, NO_SPECIF, SPACE |
Constructor Summary | |
Constellations()
|
Method Summary | |
static java.lang.String |
getAbbreviation(int whichConst)
Returns the latin abbreviation of the constellation. |
static double[][] |
getBoundaries(int whichConst)
Returns the coordinates of the constellation boundaries. |
static java.lang.String |
getConstellation(double ra,
double dec)
Returns the latin abbreviation of the constellation which "contains" a given couple (right ascension, declination). |
static java.lang.String |
getGenitive(int whichConst)
Returns the latin genitive of the constellation. |
static java.lang.String |
getNominative(int whichConst)
Returns the latin nominative (current name) of the constellation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Constellations()
Method Detail |
public static java.lang.String getAbbreviation(int whichConst)
whichConst
- An integer identifying the constellation, using
ConstellationConstants
constants.public static double[][] getBoundaries(int whichConst)
getBoundaries(Ser)
is equivalent to getBoundaries(SerA)
: returns Serpens Caput boundaries.
Data for Serpens Cauda can be retrieved with getBoundaries(SerB)
.
whichConst
- An integer identifying the constellation, using
ConstellationConstants
constants.public static java.lang.String getConstellation(double ra, double dec)
public static java.lang.String getGenitive(int whichConst)
whichConst
- An integer identifying the constellation, using
ConstellationConstants
constants.public static java.lang.String getNominative(int whichConst)
whichConst
- An integer identifying the constellation, using
ConstellationConstants
constants.
|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |