Class StreamingCpfWriter.Segment

java.lang.Object
org.orekit.files.ilrs.StreamingCpfWriter.Segment
All Implemented Interfaces:
OrekitFixedStepHandler
Enclosing class:
StreamingCpfWriter

public class StreamingCpfWriter.Segment extends Object implements OrekitFixedStepHandler
A writer for a segment of a CPF.
  • Method Details

    • handleStep

      public void handleStep(SpacecraftState currentState)
      Handle the current step..
      Specified by:
      handleStep in interface OrekitFixedStepHandler
      Parameters:
      currentState - current state at step time
    • finish

      public void finish(SpacecraftState finalState)
      Finalize propagation..
      Specified by:
      finish in interface OrekitFixedStepHandler
      Parameters:
      finalState - state at propagation end
    • writeEphemerisLine

      public void writeEphemerisLine(TimeStampedPVCoordinates pv) throws IOException
      Write ephemeris lines.

      If velocityFlag is 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.