public class UserCelestialBody extends AbstractCelestialBody
Constructor and Description |
---|
UserCelestialBody(IEphemerisBody body,
IUserEphemeris ephemeris)
Constructor.
|
UserCelestialBody(IEphemerisBody body,
IUserEphemeris ephemeris,
FramesConfiguration framesConfigurationIn)
Constructor with frame configuration.
|
Modifier and Type | Method and Description |
---|---|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Computes the PV coordinates at a date using linear interpolator.
|
PVCoordinates |
getPVCoordinatesLagrange4(AbsoluteDate date,
Frame frame)
Computes the PV coordinates at a date using Lagrange 4 interpolator.
|
getBodyOrientedFrame, getGM, getInertiallyOrientedFrame, getName
public UserCelestialBody(IEphemerisBody body, IUserEphemeris ephemeris)
body
- the bodyephemeris
- the ephemerispublic UserCelestialBody(IEphemerisBody body, IUserEphemeris ephemeris, FramesConfiguration framesConfigurationIn)
body
- the bodyephemeris
- the ephemerisframesConfigurationIn
- the frame configurationpublic PVCoordinates getPVCoordinatesLagrange4(AbsoluteDate date, Frame frame) throws PatriusException
date
- the dateframe
- the framePatriusException
- should not happenpublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
getPVCoordinates
in interface PVCoordinatesProvider
getPVCoordinates
in class AbstractCelestialBody
date
- the dateframe
- the framePatriusException
- thrown if some frame conversion failedCopyright © 2018 CNES. All Rights Reserved.