public interface CelestialBody extends Serializable, PVCoordinatesProvider
CelestialBodyFactory
Modifier and Type | Method and Description |
---|---|
Frame |
getBodyOrientedFrame()
Get a body oriented, body centered frame.
|
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.
|
<T extends org.hipparchus.RealFieldElement<T>> |
getPVCoordinates(FieldAbsoluteDate<T> date,
Frame frame)
Get the
TimeStampedFieldPVCoordinates of the body in the selected frame. |
getPVCoordinates
Frame getInertiallyOrientedFrame() throws OrekitException
The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.
OrekitException
- if frame cannot be retrievedgetBodyOrientedFrame()
Frame getBodyOrientedFrame() throws OrekitException
The frame is always bound to the body center, and its axes have a fixed orientation with respect to the celestial body.
OrekitException
- if frame cannot be retrievedgetInertiallyOrientedFrame()
String getName()
double getGM()
<T extends org.hipparchus.RealFieldElement<T>> TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame) throws OrekitException
TimeStampedFieldPVCoordinates
of the body in the selected frame.T
- type fo the field elementsdate
- current dateframe
- the frame where to define the positionOrekitException
- if position cannot be computed in given framePVCoordinatesProvider.getPVCoordinates(org.orekit.time.AbsoluteDate, Frame)
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.