org.rr0.im.service.function
Class SizeFromMoonImpl


public class SizeFromMoonImpl
implements SizeFromMoon

Compute the size of a sighted object given :

Author:
Jérôme Beau
Version: 15 juin 2003 15:06:39

Field Summary
 private doubleangleOfElevation
           
 private doublegroundDistance
           
 private final static doubleLUNAR_DIAMETER_ON_DISTANCE
          In miles
 private doubleobjectDistance
           
 private doublerelativeLunarSize
           

Method Summary
 doublegetAngleOfElevation()
          The angle of elevation of the object, in degrees.
 doublegetGroundDistance()
           
 doublegetObjectDistance()
           
 doublegetObjectLength()
           
 doublegetRelativeLunarSize()
           
 voidsetAngleOfElevation(double angleOfElevation)
          Set the angle of elevation of the object, in degrees.
 voidsetGroundDistance(double groundDistance)
           
 voidsetObjectDistance(double objectDistance)
           
 voidsetRelativeLunarSize(double relativeLunarSize)
          Usually from 0.2 to 4.0

Field Detail

angleOfElevation

private double angleOfElevation

groundDistance

private double groundDistance

LUNAR_DIAMETER_ON_DISTANCE

private final static double LUNAR_DIAMETER_ON_DISTANCE
In miles

objectDistance

private double objectDistance

relativeLunarSize

private double relativeLunarSize
Method Detail

getAngleOfElevation

public double getAngleOfElevation()
The angle of elevation of the object, in degrees.
Returns:

getGroundDistance

public double getGroundDistance()

getObjectDistance

public double getObjectDistance()

getObjectLength

public double getObjectLength()

getRelativeLunarSize

public double getRelativeLunarSize()

setAngleOfElevation

public void setAngleOfElevation(double angleOfElevation)
Set the angle of elevation of the object, in degrees.

setGroundDistance

public void setGroundDistance(double groundDistance)

setObjectDistance

public void setObjectDistance(double objectDistance)

setRelativeLunarSize

public void setRelativeLunarSize(double relativeLunarSize)
Usually from 0.2 to 4.0
Parameters:
relativeLunarSize