org.rr0.is.presentation.view.report.applet.sky
Class CelestialBody

Direct Known Subclasses:
Planet

class CelestialBody

The model for a star to be displayed in the sky.


Field Summary
 private doublealpha
           
 protected doublecurrentAlpha
           
 protected doublecurrentDelta
           
 private doubledelta
           
 private doublemagnitudeMax
           
 private doublemagnitudeMin
           
 private Stringname
           
 protected double[]vect
           

Constructor Summary
 (package private) CelestialBody(String aName, double ra1, double ra2, double ra3, int sign, double dec1, double dec2, double dec3, double someMagnitudeMin, double someMagnitudeMax)
           

Method Summary
 double[]getCoordinates()
           
 doublegetDeclination()
           
 doublegetMagnitudeMax()
           
 StringgetName()
           
 doublegetRightAscension()
           
 voidsetCurrentAlpha(double currentAlpha)
           
 voidsetCurrentDelta(double currentDelta)
           

Field Detail

alpha

private double alpha

currentAlpha

protected double currentAlpha

currentDelta

protected double currentDelta

delta

private double delta

magnitudeMax

private double magnitudeMax

magnitudeMin

private double magnitudeMin

name

private String name

vect

protected double[] vect
Constructor Detail

CelestialBody

CelestialBody(String aName, double ra1, double ra2, double ra3, int sign, double dec1, double dec2, double dec3, double someMagnitudeMin, double someMagnitudeMax)
Method Detail

getCoordinates

public double[] getCoordinates()

getDeclination

public double getDeclination()

getMagnitudeMax

public double getMagnitudeMax()

getName

public String getName()

getRightAscension

public double getRightAscension()

setCurrentAlpha

public void setCurrentAlpha(double currentAlpha)

setCurrentDelta

public void setCurrentDelta(double currentDelta)

Association Links

to Class java.lang.String