org.orekit.bodies
Class MeeusSun
java.lang.Object
org.orekit.bodies.AbstractCelestialBody
org.orekit.bodies.MeeusSun
- All Implemented Interfaces:
- Serializable, CelestialBody, PVCoordinatesProvider
public class MeeusSun
- extends AbstractCelestialBody
This class implements the Sun ephemerides according to the algorithm of Meeus, it only provides the position. Note
that it is not possible to build this Sun from the CelestialBodyFactory.
See "Astronomical Algorithms", chapter 24 "Solar Coordinates", 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: MeeusSun.java 15818 2016-04-07 14:08:12Z bignon $
- Author:
- Julie Anton
- See Also:
CelestialBody,
Serialized Form- Concurrency :
- immutable
|
Constructor Summary |
MeeusSun()
Simple constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeeusSun
public MeeusSun()
throws OrekitException
- Simple constructor.
- Throws:
OrekitException - if data embedded in the library cannot be read
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 dateframe - 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 © 2016 CNES. All Rights Reserved.