Package org.orekit.files.general
Interface AttitudeEphemerisFileWriter
-
- All Known Implementing Classes:
AttitudeWriter
public interface AttitudeEphemerisFileWriterAn interface for writing out ephemeris files to disk.An
AttitudeEphemerisFileconsists 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.
- Since:
- 10.3
- Author:
- Raphaël Fermé
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>>
voidwrite(Appendable writer, AttitudeEphemerisFile<C,S> ephemerisFile)Write the passed inAttitudeEphemerisFileusing the passed inAppendable.default <C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>>
voidwrite(String outputFilePath, AttitudeEphemerisFile<C,S> ephemerisFile)Write the passed inAttitudeEphemerisFileto a file at the output path specified.
-
-
-
Method Detail
-
write
<C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> void write(Appendable writer, AttitudeEphemerisFile<C,S> ephemerisFile) throws IOException
Write the passed inAttitudeEphemerisFileusing the passed inAppendable.- Type Parameters:
C- type of the angular coordinatesS- type of the segment- Parameters:
writer- a configured Appendable to feed with textephemerisFile- a populated ephemeris file to serialize into the buffer- Throws:
IOException- 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.)
-
write
default <C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>> void write(String outputFilePath, AttitudeEphemerisFile<C,S> ephemerisFile) throws IOException
Write the passed inAttitudeEphemerisFileto a file at the output path specified.- Type Parameters:
C- type of the angular coordinatesS- type of the segment- Parameters:
outputFilePath- a file path that the corresponding file will be written toephemerisFile- a populated ephemeris file to serialize into the buffer- Throws:
IOException- 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.)
-
-