public interface SpacecraftStateProvider extends PVCoordinatesProvider
Modifier and Type | Method and Description |
---|---|
default PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Default implementation for PVCoordinatesProvider feature using the
SpacecraftState
object's orbit. |
SpacecraftState |
getSpacecraftState(AbsoluteDate date)
Get the
SpacecraftState at provided date. |
getNativeFrame
SpacecraftState getSpacecraftState(AbsoluteDate date) throws PropagationException
SpacecraftState
at provided date.date
- target datePropagationException
- if state cannot be computeddefault PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
SpacecraftState
object's orbit.
Get the PVCoordinates
of the body in the selected frame.
getPVCoordinates
in interface PVCoordinatesProvider
date
- current dateframe
- the frame where to define the positionPatriusException
- if position cannot be computed in given frameCopyright © 2023 CNES. All rights reserved.