Class StreamingCpfWriter.Segment

    • Method Detail

      • 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.