public class AggregateBoundedPropagator extends AbstractAnalyticalPropagator implements BoundedPropagator
BoundedPropagator
that covers a larger time span from several constituent
propagators that cover shorter time spans.AggregateBoundedPropagator(Collection)
DEFAULT_LAW, DEFAULT_MASS, EPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE
Constructor and Description |
---|
AggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators)
Create a propagator by concatenating several
BoundedPropagator s. |
Modifier and Type | Method and Description |
---|---|
SpacecraftState |
getInitialState()
Get the propagator initial state.
|
protected double |
getMass(AbsoluteDate date)
Get the mass.
|
AbsoluteDate |
getMaxDate()
Get the last date of the range.
|
AbsoluteDate |
getMinDate()
Get the first date of the range.
|
TimeStampedPVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
protected Orbit |
propagateOrbit(AbsoluteDate date)
Extrapolate an orbit up to a specific target date.
|
void |
resetInitialState(SpacecraftState state)
Reset the propagator initial state.
|
protected void |
resetIntermediateState(SpacecraftState state,
boolean forward)
Reset an intermediate state.
|
acceptStep, addEventDetector, basicPropagate, clearEventsDetectors, getEventsDetectors, getGeneratedEphemeris, getPvProvider, propagate
addAdditionalStateProvider, getAdditionalStateProviders, getAttitudeProvider, getFixedStepSize, getFrame, getManagedAdditionalStates, getMode, getStartDate, getStepHandler, isAdditionalStateManaged, propagate, setAttitudeProvider, setEphemerisMode, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode, setStartDate, updateAdditionalStates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdditionalStateProvider, addEventDetector, clearEventsDetectors, getAdditionalStateProviders, getAttitudeProvider, getEventsDetectors, getFrame, getGeneratedEphemeris, getManagedAdditionalStates, getMode, isAdditionalStateManaged, propagate, propagate, setAttitudeProvider, setEphemerisMode, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode
public AggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators) throws OrekitException
BoundedPropagator
s.propagators
- that provide the backing data for this instance. There must be
at least one propagator in the collection. If there are gaps
between the BoundedPropagator.getMaxDate()
of one
propagator and the BoundedPropagator.getMinDate()
of the
next propagator an exception may be thrown by any method of this
class at any time. If there are overlaps between the the BoundedPropagator.getMaxDate()
of one propagator and the BoundedPropagator.getMinDate()
of the next propagator then the
propagator with the latest BoundedPropagator.getMinDate()
is used.OrekitException
- if propagators
does not have at least one element.public TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws OrekitException
AbstractPropagator
PVCoordinates
of the body in the selected frame.getPVCoordinates
in interface PVCoordinatesProvider
getPVCoordinates
in class AbstractPropagator
date
- current dateframe
- the frame where to define the positionOrekitException
- if position cannot be computed in given frameprotected Orbit propagateOrbit(AbsoluteDate date) throws OrekitException
AbstractAnalyticalPropagator
propagateOrbit
in class AbstractAnalyticalPropagator
date
- target date for the orbitOrekitException
- if some parameters are out of boundspublic AbsoluteDate getMinDate()
BoundedPropagator
getMinDate
in interface BoundedPropagator
public AbsoluteDate getMaxDate()
BoundedPropagator
getMaxDate
in interface BoundedPropagator
protected double getMass(AbsoluteDate date) throws OrekitException
AbstractAnalyticalPropagator
getMass
in class AbstractAnalyticalPropagator
date
- target date for the orbitOrekitException
- if some parameters are out of boundspublic SpacecraftState getInitialState() throws OrekitException
AbstractPropagator
getInitialState
in interface Propagator
getInitialState
in class AbstractPropagator
OrekitException
- if state cannot be retrievedprotected void resetIntermediateState(SpacecraftState state, boolean forward) throws OrekitException
AbstractAnalyticalPropagator
resetIntermediateState
in class AbstractAnalyticalPropagator
state
- new intermediate state to considerforward
- if true, the intermediate state is valid for
propagations after itselfOrekitException
- if initial state cannot be resetpublic void resetInitialState(SpacecraftState state) throws OrekitException
AbstractPropagator
resetInitialState
in interface Propagator
resetInitialState
in class AbstractPropagator
state
- new initial state to considerOrekitException
- if initial state cannot be resetCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.