public interface AttitudeEphemerisFileWriter
An AttitudeEphemerisFile
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 TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> |
write(Appendable writer,
AttitudeEphemerisFile<C,S> ephemerisFile)
Write the passed in
AttitudeEphemerisFile using the passed in
Appendable . |
default <C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> |
write(String outputFilePath,
AttitudeEphemerisFile<C,S> ephemerisFile)
Write the passed in
AttitudeEphemerisFile to a file at the output path specified. |
<C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> void write(Appendable writer, AttitudeEphemerisFile<C,S> ephemerisFile) throws IOException
AttitudeEphemerisFile
using the passed in
Appendable
.C
- type of the angular 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 TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> void write(String outputFilePath, AttitudeEphemerisFile<C,S> ephemerisFile) throws IOException
AttitudeEphemerisFile
to a file at the output path specified.C
- type of the angular 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-2021 CS GROUP. All rights reserved.