SP3dEphemerisReadFrom Method (TextReader) |
Reads the SP3 version D file from the
TextReader and returns a
SP3dEphemeris record.
Namespace:
AGI.Foundation.Navigation.DataReaders
Assembly:
AGI.Foundation.Navigation (in AGI.Foundation.Navigation.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static SP3dEphemeris ReadFrom(
TextReader reader
)
Public Shared Function ReadFrom (
reader As TextReader
) As SP3dEphemeris
public:
static SP3dEphemeris^ ReadFrom(
TextReader^ reader
)
static member ReadFrom :
reader : TextReader -> SP3dEphemeris
Parameters
- reader
- Type: System.IOTextReader
TextReader for the SP3d file to read.
Return Value
Type:
SP3dEphemerisSP3dEphemeris.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when the reader is .
|
| InvalidDataException |
Thrown when the file represented by the reader is not
version "D".
|
| InvalidDataException |
Thrown when the Position-Velocity flag in the SP3 file is neither 'P' nor 'V'.
|
See Also