org.orekit.bodies
Interface CelestialBody

All Superinterfaces:
PVCoordinatesProvider, Serializable
All Known Implementing Classes:
AbstractCelestialBody, MeeusMoon, MeeusMoonStela, MeeusSun, MeeusSunStela, UserCelestialBody

public interface CelestialBody
extends Serializable, PVCoordinatesProvider

Interface for celestial bodies like Sun, Moon or solar system planets.

Author:
Luc Maisonobe
See Also:
CelestialBodyFactory, IAUPole

Method Summary
 Frame getBodyOrientedFrame()
          Get a body oriented, body centered frame.
 Frame getFrame()
          Deprecated. as of 6.0 replaced by getInertiallyOrientedFrame()
 double getGM()
          Get the attraction coefficient of the body.
 Frame getInertiallyOrientedFrame()
          Get an inertially oriented, body centered frame.
 String getName()
          Get the name of the body.
 
Methods inherited from interface org.orekit.utils.PVCoordinatesProvider
getPVCoordinates
 

Method Detail

getFrame

@Deprecated
Frame getFrame()
Deprecated. as of 6.0 replaced by getInertiallyOrientedFrame()

Get an inertially oriented, body centered frame.

The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.

Returns:
an inertially oriented body centered frame

getInertiallyOrientedFrame

Frame getInertiallyOrientedFrame()
                                 throws OrekitException
Get an inertially oriented, body centered frame.

The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.

Returns:
an inertially oriented, body centered frame
Throws:
OrekitException - if frame cannot be retrieved
See Also:
getBodyOrientedFrame()

getBodyOrientedFrame

Frame getBodyOrientedFrame()
                           throws OrekitException
Get a body oriented, body centered frame.

The frame is always bound to the body center, and its axes have a fixed orientation with respect to the celestial body.

Returns:
a body oriented, body centered frame
Throws:
OrekitException - if frame cannot be retrieved
See Also:
getInertiallyOrientedFrame()

getName

String getName()
Get the name of the body.

Returns:
name of the body

getGM

double getGM()
Get the attraction coefficient of the body.

Returns:
attraction coefficient of the body (m3/s2)


Copyright © 2016 CNES. All Rights Reserved.