Package org.orekit.files.ilrs
Class StreamingCpfWriter.Segment
java.lang.Object
org.orekit.files.ilrs.StreamingCpfWriter.Segment
- All Implemented Interfaces:
OrekitFixedStepHandler
- Enclosing class:
StreamingCpfWriter
A writer for a segment of a CPF.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(SpacecraftState finalState) Finalize propagation.voidhandleStep(SpacecraftState currentState) Handle the current step.voidWrite ephemeris lines.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.sampling.OrekitFixedStepHandler
init
-
Method Details
-
handleStep
Handle the current step..- Specified by:
handleStepin interfaceOrekitFixedStepHandler- Parameters:
currentState- current state at step time
-
finish
Finalize propagation..- Specified by:
finishin interfaceOrekitFixedStepHandler- Parameters:
finalState- state at propagation end
-
writeEphemerisLine
Write ephemeris lines.If
velocityFlagis equals to true, both position and velocity records are written. Otherwise, only the position data are used.- Parameters:
pv- the time, position, and velocity to write.- Throws:
IOException- if the output stream throws one while writing.
-