JEphem site
tig API
Build classes

jephem.astro.sky
Class Constellations

java.lang.Object
  |
  +--jephem.astro.sky.Constellations
All Implemented Interfaces:
ConstellationConstants, GeneralConstants

public abstract class Constellations
extends java.lang.Object
implements ConstellationConstants, GeneralConstants

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

Constellations

public Constellations()
Method Detail

getAbbreviation

public static java.lang.String getAbbreviation(int whichConst)
Returns the latin abbreviation of the constellation.

Parameters:
whichConst - An integer identifying the constellation, using ConstellationConstants constants.

getBoundaries

public static double[][] getBoundaries(int whichConst)
Returns the coordinates of the constellation boundaries.
Values in radians, for mean equator and equinox 1875.0.
WARNING : getBoundaries(Ser) is equivalent to getBoundaries(SerA) : returns Serpens Caput boundaries. Data for Serpens Cauda can be retrieved with getBoundaries(SerB).

Parameters:
whichConst - An integer identifying the constellation, using ConstellationConstants constants.

getConstellation

public static java.lang.String getConstellation(double ra,
                                                double dec)
Returns the latin abbreviation of the constellation which "contains" a given couple (right ascension, declination).


getGenitive

public static java.lang.String getGenitive(int whichConst)
Returns the latin genitive of the constellation.

Parameters:
whichConst - An integer identifying the constellation, using ConstellationConstants constants.

getNominative

public static java.lang.String getNominative(int whichConst)
Returns the latin nominative (current name) of the constellation.

Parameters:
whichConst - An integer identifying the constellation, using ConstellationConstants constants.

JEphem site
tig API
Build classes