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.
CelestialBody,
Serialized Form| Constructor and Description |
|---|
MeeusMoon()
Simple constructor.
|
MeeusMoon(int numberOfLongitudeTerms,
int numberOfLatitudeTerms,
int numberOfDistanceTerms)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
getBodyOrientedFrame, getGM, getInertiallyOrientedFrame, getNamepublic MeeusMoon()
throws PatriusException
PatriusException - if data embedded in the library cannot be readpublic MeeusMoon(int numberOfLongitudeTerms,
int numberOfLatitudeTerms,
int numberOfDistanceTerms)
throws PatriusException
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)PatriusException - if data embedded in the library cannot be readpublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
PVCoordinates of the body in the selected frame.getPVCoordinates in interface PVCoordinatesProvidergetPVCoordinates in class AbstractCelestialBodydate - current dateframe - the frame where to define the positionPatriusException - if position cannot be computed in given frameCopyright © 2020 CNES. All rights reserved.