|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.bodies.AbstractCelestialBody
public abstract class AbstractCelestialBody
Abstract implementation of the CelestialBody interface.
This abstract implementation provides basic services that can be shared
by most implementations of the CelestialBody interface. It holds
the attraction coefficient and build the body-centered frames automatically
using the definitions of pole and prime meridianspecified by the IAU/IAG Working
Group on Cartographic Coordinates and Rotational Elements of the Planets and
Satellites (WGCCRE).
IAUPole,
Serialized Form| Constructor Summary | |
|---|---|
protected |
AbstractCelestialBody(String name,
double gm,
IAUPole iauPole,
Frame definingFrame,
String inertialFrameName,
String bodyFrameName)
Build an instance and the underlying frame. |
| Method Summary | |
|---|---|
Frame |
getBodyOrientedFrame()
Get a body oriented, body centered frame. |
Frame |
getFrame()
Deprecated. |
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. |
abstract PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the PVCoordinates of the body in the selected frame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractCelestialBody(String name,
double gm,
IAUPole iauPole,
Frame definingFrame,
String inertialFrameName,
String bodyFrameName)
name - name of the bodygm - attraction coefficient (in m3/s2)iauPole - IAU pole implementationdefiningFrame - frame in which celestial body coordinates are definedinertialFrameName - name to use for inertially oriented body centered framebodyFrameName - name to use for body oriented body centered frame| Method Detail |
|---|
public String getName()
getName in interface CelestialBodypublic double getGM()
getGM in interface CelestialBody@Deprecated public Frame getFrame()
The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.
getFrame in interface CelestialBodypublic Frame getInertiallyOrientedFrame()
The frame is always bound to the body center, and its axes have a fixed orientation with respect to other inertial frames.
getInertiallyOrientedFrame in interface CelestialBodyCelestialBody.getBodyOrientedFrame()public Frame getBodyOrientedFrame()
The frame is always bound to the body center, and its axes have a fixed orientation with respect to the celestial body.
getBodyOrientedFrame in interface CelestialBodyCelestialBody.getInertiallyOrientedFrame()
public abstract PVCoordinates getPVCoordinates(AbsoluteDate date,
Frame frame)
throws OrekitException
PVCoordinates of the body in the selected frame.
getPVCoordinates in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the position
OrekitException - if position cannot be computed in given frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||