public interface EphemerisFileWriter
An EphemerisFile
consists of one or more satellites each an ID unique
within the file. The ephemeris for each satellite consists of one or more
segments.
Ephemeris file formats may have additional settings that need to be configured to be compliant with their formats.
Modifier and Type | Method and Description |
---|---|
<C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>> |
write(Appendable writer,
EphemerisFile<C,S> ephemerisFile)
Write the passed in
EphemerisFile using the passed in
Appendable . |
default <C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>> |
write(String outputFilePath,
EphemerisFile<C,S> ephemerisFile)
Write the passed in
EphemerisFile to a file at the output path
specified. |
<C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>> void write(Appendable writer, EphemerisFile<C,S> ephemerisFile) throws IOException
EphemerisFile
using the passed in
Appendable
.C
- type of the Cartesian coordinatesS
- type of the segmentwriter
- a configured Appendable to feed with textephemerisFile
- a populated ephemeris file to serialize into the bufferIOException
- if any buffer writing operations fail or if the underlying
format doesn't support a configuration in the EphemerisFile
(for example having multiple satellites in one file, having
the origin at an unspecified celestial body, etc.)default <C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>> void write(String outputFilePath, EphemerisFile<C,S> ephemerisFile) throws IOException
EphemerisFile
to a file at the output path
specified.C
- type of the Cartesian coordinatesS
- type of the segmentoutputFilePath
- a file path that the corresponding file will be written toephemerisFile
- a populated ephemeris file to serialize into the bufferIOException
- if any file writing operations fail or if the underlying
format doesn't support a configuration in the EphemerisFile
(for example having multiple satellites in one file, having
the origin at an unspecified celestial body, etc.)Copyright © 2002-2022 CS GROUP. All rights reserved.