org.rr0.im.service.function
Class SizeFromMoonImpl
- public class SizeFromMoonImpl
- implements SizeFromMoon
Compute the size of a sighted object given :
- a estimated relative size of the Moon
- a estimated distance of the object (or ground distance + angle of elevation)
- Author:
- Jérôme Beau
- Version: 15 juin 2003 15:06:39
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
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