org.jscience.astronomy.catalogs.hipparcos
Class HipparcosCatalogEntry

java.lang.Object
  extended by org.jscience.astronomy.catalogs.hipparcos.HipparcosCatalogEntry

public class HipparcosCatalogEntry
extends java.lang.Object

A class to represent one entry in the hipparcos catalog not all fields are put in here just the ones used elsewhere could easily add them all but then chewing up memory


Field Summary
static java.text.DecimalFormat mform
          DOCUMENT ME!
 
Constructor Summary
HipparcosCatalogEntry()
          Creates a new Star object.
HipparcosCatalogEntry(HipparcosCatalogEntry copy)
           
HipparcosCatalogEntry(java.lang.String str)
          COntruct the star from the delimetd line as it appears in the catalog
 
Method Summary
 double getAlpha()
          DOCUMENT ME!
 double getB_V()
          DOCUMENT ME!
 double getDelta()
          DOCUMENT ME!
 java.lang.String getId()
          DOCUMENT ME!
 double getMag()
          DOCUMENT ME!
 double getMuAlpha()
          DOCUMENT ME!
 double getMuAlpha(int years)
          DOCUMENT ME!
 double getMuDelta()
          DOCUMENT ME!
 double getMuDelta(int years)
          DOCUMENT ME!
 double getParalax()
          DOCUMENT ME!
 java.lang.String getType()
          DOCUMENT ME!
static java.lang.String header()
          DOCUMENT ME!
 boolean inHIP()
          DOCUMENT ME!
 java.net.URL makeUrl()
          DOCUMENT ME!
 java.lang.String shortInfo()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mform

public static java.text.DecimalFormat mform
DOCUMENT ME!

Constructor Detail

HipparcosCatalogEntry

public HipparcosCatalogEntry()
Creates a new Star object.


HipparcosCatalogEntry

public HipparcosCatalogEntry(HipparcosCatalogEntry copy)

HipparcosCatalogEntry

public HipparcosCatalogEntry(java.lang.String str)
                      throws java.lang.Exception
COntruct the star from the delimetd line as it appears in the catalog

Parameters:
str - DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!
Method Detail

shortInfo

public java.lang.String shortInfo()
DOCUMENT ME!

Returns:
DOCUMENT ME!

header

public static java.lang.String header()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMag

public double getMag()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAlpha

public double getAlpha()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDelta

public double getDelta()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getParalax

public double getParalax()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMuAlpha

public double getMuAlpha()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMuDelta

public double getMuDelta()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getB_V

public double getB_V()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getId

public java.lang.String getId()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getType

public java.lang.String getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

inHIP

public boolean inHIP()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

makeUrl

public java.net.URL makeUrl()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMuAlpha

public double getMuAlpha(int years)
DOCUMENT ME!

Parameters:
years - DOCUMENT ME!
Returns:
DOCUMENT ME!

getMuDelta

public double getMuDelta(int years)
DOCUMENT ME!

Parameters:
years - DOCUMENT ME!
Returns:
DOCUMENT ME!