public class UserCelestialBody extends AbstractCelestialBody
PVCoordinatesProvider providing body position-velocity through time| Constructor and Description |
|---|
UserCelestialBody(String name,
PVCoordinatesProvider aPVCoordinateProvider,
double gm,
IAUPole iauPole)
Build an instance and the underlying frame.
|
| Modifier and Type | Method and Description |
|---|---|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
getBodyOrientedFrame, getGM, getInertiallyOrientedFrame, getNamepublic UserCelestialBody(String name, PVCoordinatesProvider aPVCoordinateProvider, double gm, IAUPole iauPole)
name - name of the bodyaPVCoordinateProvider - Position-Velocity of celestial bodygm - attraction coefficient (in m3/s2)iauPole - IAU pole implementationpublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
PVCoordinates of the body in the selected frame.getPVCoordinates in interface PVCoordinatesProvidergetPVCoordinates in class AbstractCelestialBodydate - current dateframe - the frame where to define the positionPatriusException - if position cannot be computed in given frameCopyright © 2020 CNES. All rights reserved.