StreamingOemWriter.Segment
@FunctionalInterface public interface OrekitFixedStepHandler
It mirrors the FixedStepHandler
interface from Hipparchus but provides
a space-dynamics interface to the methods.
Modifier and Type | Method | Description |
---|---|---|
void |
handleStep(SpacecraftState currentState,
boolean isLast) |
Handle the current step.
|
default void |
init(SpacecraftState s0,
AbsoluteDate t) |
Deprecated.
as of 9.0, replaced by
init(SpacecraftState, AbsoluteDate, double) |
default void |
init(SpacecraftState s0,
AbsoluteDate t,
double step) |
Initialize step handler at the start of a propagation.
|
@Deprecated default void init(SpacecraftState s0, AbsoluteDate t) throws OrekitException
init(SpacecraftState, AbsoluteDate, double)
This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
The default implementation does nothing
s0
- initial statet
- target time for the integrationOrekitException
- if step handler cannot be initializeddefault void init(SpacecraftState s0, AbsoluteDate t, double step) throws OrekitException
This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
The default implementation currently calls the deprecated
init(SpacecraftState, AbsoluteDate)
which does nothing by
default. When that method is removed the default implementation will do
nothing.
s0
- initial statet
- target time for the integrationstep
- the duration in seconds of the fixed step. This value is
positive even if propagation is backwards.OrekitException
- if step handler cannot be initializedvoid handleStep(SpacecraftState currentState, boolean isLast) throws OrekitException
currentState
- current state at step timeisLast
- if true, this is the last integration stepOrekitException
- if step cannot be handledCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.