Click or drag to resize

CcsdsOrbitEphemerisMessageFileWriteTo Method (TextWriter, CcsdsOemFileWritingOptions)

Writes this instance to a TextWriter in the CCSDS orbit ephemeris message OEM format.

The TextWriter can be a StreamWriter for writing to a file, a StringWriter for writing to a string, or any number of other types.

If acceleration information is contained in the EphemerisData of any of the segments that this instance contains or the CovarianceData of any of the segments is not or empty, then the Version needs to be set to 2.0 or this method will throw.

Namespace:  AGI.Foundation.Ccsds
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void WriteTo(
	TextWriter writer,
	CcsdsOemFileWritingOptions options
)

Parameters

writer
Type: System.IOTextWriter
The writer to which to write this instance.
options
Type: AGI.Foundation.CcsdsCcsdsOemFileWritingOptions
The output choices that are used when writing this instance.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the writer or options are .
PropertyInvalidExceptionThrown when any required property is , when the Version is not 1.0 or 2.0, or when acceleration or covariance information is available but the Version is 1.0.
See Also