|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--astro.calc.DeadReckoning
Astronomical Navigation Tools.
Dead Reckoning : Estimated Altitude et Azimuth.
This is a Java Bean.
Input parameters :
Field Summary | |
static int |
LOWER_LIMB
|
static int |
UPPER_LIMB
|
Constructor Summary | |
DeadReckoning()
Constructor. |
|
DeadReckoning(double dAHG,
double dD,
double dL,
double dG)
Constructor. |
Method Summary | |
void |
calculate()
Performs the required calculations, after the AHG, D, L and G. |
double |
correctedAltitude(double calculatedAltitude,
double eyeHeight,
double hp,
double sd,
int limb)
Returns the corrected Altitude of a celestial body We left in stand by for now: |
java.lang.Double |
getHe()
Returns Hauteur estimée after calculation. |
double |
getHorizonDip()
|
double |
getPa()
|
double |
getRefr()
|
java.lang.Double |
getZ()
Returns Azimuth after calculation. |
void |
setAHG(double ahg)
Set the AHG before calculation |
void |
setD(double d)
Set the D before calculation |
void |
setG(double g)
Set the G before calculation |
void |
setL(double l)
Set the L before calculation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UPPER_LIMB
public static final int LOWER_LIMB
Constructor Detail |
public DeadReckoning()
public DeadReckoning(double dAHG, double dD, double dL, double dG)
dAHG
- Angle Horaire GreenwichdD
- DéclinaisondL
- Latitude estiméedG
- Longitude estiméeMethod Detail |
public void calculate()
public java.lang.Double getHe()
GeomUtil
public java.lang.Double getZ()
GeomUtil
public void setAHG(double ahg)
ahg
- the AHG to setpublic void setD(double d)
d
- the D to setpublic void setL(double l)
public void setG(double g)
g
- the G to setpublic double getHorizonDip()
public double getRefr()
public double getPa()
public double correctedAltitude(double calculatedAltitude, double eyeHeight, double hp, double sd, int limb)
calculatedAltitude
- The one you want to correcteyeHeight
- Height of the eye above water, in metershp
- Horizontal parallax, in minutessd
- Semi diameter of the celestial body, in minuteslimb
- Upper or Lower limb
UPPER_LIMB
,
LOWER_LIMB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |