|
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.BSC5
Low-level class to access to BSC5 (Bright Star Catalog, version 5) data.
Header of readMe of the present version :
================================================================================ The Bright Star Catalogue, 5th Revised Ed. (Preliminary Version) Hoffleit E.D., Warren Jr. W.H. ================================================================================
Field Summary | |
static int |
BSC
Constant to access to BSC number (= Harvard Revised Number). |
static int |
DEC
Constant to access to dec. 2000. |
static int |
HD
Constant to access to HD catalog number. |
static int |
MAG
Constant to access to visual magnitude. |
static int |
NB_STARS
Number of stars in the catalog. |
static int |
PAR
Constant to access to parallax. |
static int |
RA
Constant to access to r.a. 2000. |
static int |
SAO
Constant to access to SAO catalog number. |
static int |
TYP
Constant to access to spectral type. |
Fields inherited from interface tig.GeneralConstants |
BLANK, FS, LS, NO_SPECIF, SPACE |
Constructor Summary | |
BSC5()
|
Method Summary | |
static java.lang.String |
getDataLabel(int dataCode)
Returns the English label of the specified data. |
static double |
getDoubleData(int starIdx,
int dataCode)
Returns a String data for a particular star. |
static java.lang.String |
getStringData(int starIdx,
int dataCode)
Returns a String data for a particular star. |
static void |
setDataPath(java.lang.String dataPath)
Sets the path where the BSC5 data are located ; MUST be called before calling any other method of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BSC
public static final int DEC
public static final int HD
public static final int MAG
public static final int NB_STARS
public static final int PAR
public static final int RA
public static final int SAO
public static final int TYP
Constructor Detail |
public BSC5()
Method Detail |
public static java.lang.String getDataLabel(int dataCode)
dataCode
- constant of this class designating one of the BSC5 data.public static double getDoubleData(int starIdx, int dataCode)
dataCode
- constant of this class designating one of the BSC5 double data.public static java.lang.String getStringData(int starIdx, int dataCode)
dataCode
- constant of this class designating one of the BSC5 String data.public static void setDataPath(java.lang.String dataPath)
|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |