org.orekit.bodies
Class MeeusMoon

java.lang.Object
  extended by org.orekit.bodies.AbstractCelestialBody
      extended by org.orekit.bodies.MeeusMoon
All Implemented Interfaces:
Serializable, CelestialBody, PVCoordinatesProvider

public class MeeusMoon
extends AbstractCelestialBody

This class implements the Moon ephemerides according to the algorithm of Meeus. It only provides the position. Note that it is not possible to build this Moon from the CelestialBodyFactory.

See "Astronomical Algorithms", chapter 45 "Position of the Moon", Jean Meeus, 1991.

Note that pole information allowing to define inertially-centered frame and rotating frame are defined in IAUPoleFactory since Meeus model does not provide the information.

Since:
1.1
Version:
$Id: MeeusMoon.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Julie Anton
See Also:
CelestialBody, Serialized Form
Concurrency :
immutable

Constructor Summary
MeeusMoon()
          Simple constructor.
MeeusMoon(int numberOfLongitudeTerms, int numberOfLatitudeTerms, int numberOfDistanceTerms)
          Simple constructor.
 
Method Summary
 PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
          Get the PVCoordinates of the body in the selected frame.
 
Methods inherited from class org.orekit.bodies.AbstractCelestialBody
getBodyOrientedFrame, getFrame, getGM, getInertiallyOrientedFrame, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeeusMoon

public MeeusMoon()
          throws OrekitException
Simple constructor.

Throws:
OrekitException - if data embedded in the library cannot be read

MeeusMoon

public MeeusMoon(int numberOfLongitudeTerms,
                 int numberOfLatitudeTerms,
                 int numberOfDistanceTerms)
          throws OrekitException
Simple constructor.

Parameters:
numberOfLongitudeTerms - number of terms taken into account to compute the longitude (up to 62)
numberOfLatitudeTerms - number of terms taken into account to compute the latitude (up to 66)
numberOfDistanceTerms - number of terms taken into account to compute the distance (up to 46)
Throws:
OrekitException - if data embedded in the library cannot be read
Method Detail

getPVCoordinates

public PVCoordinates getPVCoordinates(AbsoluteDate date,
                                      Frame frame)
                               throws OrekitException
Description copied from class: AbstractCelestialBody
Get the PVCoordinates of the body in the selected frame.

Specified by:
getPVCoordinates in interface PVCoordinatesProvider
Specified by:
getPVCoordinates in class AbstractCelestialBody
Parameters:
date - current date
frame - the frame where to define the position
Returns:
position/velocity of the body (m and m/s)
Throws:
OrekitException - if position cannot be computed in given frame


Copyright © 2017 CNES. All Rights Reserved.