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 FormEME2000_FRAME_NAME, ICRF_FRAME_NAME, INERTIAL_FRAME_CONSTANT_MODEL, INERTIAL_FRAME_MEAN_MODEL, INERTIAL_FRAME_TRUE_MODEL, ROTATING_FRAME_CONSTANT_MODEL, ROTATING_FRAME_MEAN_MODEL, ROTATING_FRAME_TRUE_MODEL
Constructor and Description |
---|
MeeusMoon()
Simple constructor.
|
MeeusMoon(int numberOfLongitudeTerms,
int numberOfLatitudeTerms,
int numberOfDistanceTerms)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of the body and its attributes.
|
getEME2000, getEphemeris, getGM, getGravityModel, getIAUPole, getICRF, getInertialFrame, getName, getNativeFrame, getPVCoordinates, getRotatingFrame, getShape, setEphemeris, setGM, setGravityModel, setIAUPole, setShape
public MeeusMoon() throws PatriusException
PatriusException
- PatriusExceptionpublic 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 rotating frame cannot be retrievedpublic String toString()
toString
in interface CelestialBody
toString
in class AbstractCelestialBody
Copyright © 2023 CNES. All rights reserved.