public class StreamingCpfWriter.Segment extends Object implements OrekitFixedStepHandler
Modifier and Type | Method and Description |
---|---|
void |
finish(SpacecraftState finalState)
Finalize propagation.
|
void |
handleStep(SpacecraftState currentState)
Handle the current step.
|
void |
writeEphemerisLine(TimeStampedPVCoordinates pv)
Write ephemeris lines.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public void handleStep(SpacecraftState currentState)
handleStep
in interface OrekitFixedStepHandler
currentState
- current state at step timepublic void finish(SpacecraftState finalState)
finish
in interface OrekitFixedStepHandler
finalState
- state at propagation endpublic void writeEphemerisLine(TimeStampedPVCoordinates pv) throws IOException
If velocityFlag
is equals to true, both
position and velocity records are written. Otherwise,
only the position data are used.
pv
- the time, position, and velocity to write.IOException
- if the output stream throws one while writing.Copyright © 2002-2023 CS GROUP. All rights reserved.