public class Ephemeris extends AbstractPropagator implements BoundedPropagator
MASSEPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE| Constructor and Description |
|---|
Ephemeris(List<SpacecraftState> states,
int interpolationPoints)
Constructor with tabulated states.
|
| Modifier and Type | Method and Description |
|---|---|
SpacecraftState |
basicPropagate(AbsoluteDate date)
Propagate an orbit without any fancy features.
|
Orbit |
basicPropagateOrbit(AbsoluteDate date)
Propagate an orbit without any fancy features.
|
SpacecraftState |
getInitialState()
Get the propagator initial state.
|
AbsoluteDate |
getMaxDate()
Get the last date of the range.
|
AbsoluteDate |
getMinDate()
Get the first date of the range.
|
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. |
protected Orbit |
propagateOrbit(AbsoluteDate date)
Extrapolate an orbit up to a specific target date.
|
void |
resetInitialState(SpacecraftState state)
Try (and fail) to reset the initial state.
|
acceptStep, addAdditionalStateProvider, addAdditionalStateProvider, addEventDetector, clearEventsDetectors, getAttitudeProvider, getAttitudeProviderEvents, getAttitudeProviderForces, getEventsDetectors, getFrame, getGeneratedEphemeris, getMode, getPvProvider, manageStateFrame, propagate, propagate, setAttitudeProvider, setAttitudeProviderEvents, setAttitudeProviderForces, setEphemerisMode, setMasterMode, setMasterMode, setOrbitFrame, setSlaveMode, setStartDateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOrbitFrameaddEventDetector, clearEventsDetectors, getAttitudeProvider, getAttitudeProviderEvents, getAttitudeProviderForces, getEventsDetectors, getFrame, getGeneratedEphemeris, getMode, getNativeFrame, propagate, propagate, setAttitudeProvider, setAttitudeProviderEvents, setAttitudeProviderForces, setEphemerisMode, setMasterMode, setMasterMode, setSlaveModepublic Ephemeris(List<SpacecraftState> states, int interpolationPoints)
states - tabulates statesinterpolationPoints - number of points to use in interpolationMathIllegalArgumentException - if the number of states is smaller than
the number of points to use in interpolationpublic AbsoluteDate getMinDate()
getMinDate in interface BoundedPropagatorpublic AbsoluteDate getMaxDate()
getMaxDate in interface BoundedPropagatorpublic SpacecraftState basicPropagate(AbsoluteDate date) throws PropagationException
AbstractPropagator
This method is similar in spirit to the AbstractPropagator.propagate(fr.cnes.sirius.patrius.time.AbsoluteDate) method, except that it does not call
any handler during propagation, nor any discrete events. It always stop exactly at the specified date.
basicPropagate in class AbstractPropagatordate - target date for propagationPropagationException - if propagation cannot reach specified datepublic Orbit basicPropagateOrbit(AbsoluteDate date) throws PropagationException
This method is similar in spirit to the AbstractPropagator.propagate(fr.cnes.sirius.patrius.time.AbsoluteDate) method, except that it does not call
any handler during propagation, nor any discrete events. It always stop exactly at the specified date.
date - target date for propagationPropagationException - if entries are not chronologically sorted or if new data cannot be generated
if the sample points are inconsistentprotected Orbit propagateOrbit(AbsoluteDate date) throws PropagationException
propagateOrbit in class AbstractPropagatordate - target date for the orbitPropagationException - if some parameters are out of boundspublic 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 PVCoordinatesProvidergetPVCoordinates in interface SpacecraftStateProvidergetPVCoordinates in class AbstractPropagatordate - current dateframe - the frame where to define the positionPatriusException - if position cannot be computed in given framepublic SpacecraftState getSpacecraftState(AbsoluteDate date) throws PropagationException
SpacecraftState at provided date.getSpacecraftState in interface SpacecraftStateProvidergetSpacecraftState in class AbstractPropagatordate - target datePropagationException - if state cannot be computedpublic void resetInitialState(SpacecraftState state) throws PropagationException
This method always throws an exception, as ephemerides cannot be reset.
resetInitialState in interface PropagatorresetInitialState in class AbstractPropagatorstate - new initial state to considerPropagationException - always thrown as ephemerides cannot be resetpublic SpacecraftState getInitialState() throws PropagationException
getInitialState in interface PropagatorgetInitialState in class AbstractPropagatorPropagationExceptionCopyright © 2024 CNES. All rights reserved.