public class OutputStepHandler extends Object implements org.orekit.propagation.sampling.OrekitFixedStepHandler
Constructor and Description |
---|
OutputStepHandler(OutputManager outputManager,
double propagationDuration)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
handleFinalStep(org.orekit.propagation.SpacecraftState finalState)
Handle the last step in the propagation to be sure that it is included in the spacecraft list
(file or memory).
|
void |
handleStep(org.orekit.propagation.SpacecraftState currentState,
boolean isLast) |
void |
init(org.orekit.propagation.SpacecraftState spacecraftState,
org.orekit.time.AbsoluteDate date) |
public OutputStepHandler(OutputManager outputManager, double propagationDuration)
outputManager
- output manager to store the outputspropagationDuration
- propagation duration (s)public void init(org.orekit.propagation.SpacecraftState spacecraftState, org.orekit.time.AbsoluteDate date)
init
in interface org.orekit.propagation.sampling.OrekitFixedStepHandler
public void handleStep(org.orekit.propagation.SpacecraftState currentState, boolean isLast)
handleStep
in interface org.orekit.propagation.sampling.OrekitFixedStepHandler
public void handleFinalStep(org.orekit.propagation.SpacecraftState finalState)
finalState
- final propagation spacecraft state.Copyright © 2017. All rights reserved.