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 FormCONSTANT_ROTATING_FRAME_NAME, ICRF_FRAME_NAME, INERTIAL_EQUATOR_FRAME_NAME, MEAN_EQUATOR_FRAME_NAME, MEAN_ROTATING_FRAME_NAME, TRUE_EQUATOR_FRAME_NAME, TRUE_ROTATING_FRAME_NAME| Constructor and Description |
|---|
MeeusMoon()
Simple constructor.
|
MeeusMoon(int numberOfLongitudeTerms,
int numberOfLatitudeTerms,
int numberOfDistanceTerms)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Frame |
getNativeFrame(AbsoluteDate date,
Frame frame)
Get the native frame, i.e.
|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
String |
toString()
Returns a string representation of the body and its attributes.
|
getAttractionModel, getConstantRotatingFrame, getGM, getIAUPole, getICRF, getInertialEquatorFrame, getMeanEquatorFrame, getMeanRotatingFrame, getName, getShape, getTrueEquatorFrame, getTrueRotatingFrame, setAttractionModel, setGM, setIAUPole, setShapepublic 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 framepublic Frame getNativeFrame(AbsoluteDate date, Frame frame) throws PatriusException
date - a dateframe - a framePatriusException - thrown if native frame is undefined or unknownpublic String toString()
toString in interface CelestialBodytoString in class AbstractCelestialBodyCopyright © 2022 CNES. All rights reserved.