StkAttitudeFileReadFrom Method (String, StkAttitudeFileOptions) |
Namespace:
AGI.Foundation.Stk
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static StkAttitudeFile ReadFrom(
string fileName,
StkAttitudeFileOptions readOptions
)
Public Shared Function ReadFrom (
fileName As String,
readOptions As StkAttitudeFileOptions
) As StkAttitudeFile
public:
static StkAttitudeFile^ ReadFrom(
String^ fileName,
StkAttitudeFileOptions^ readOptions
)
static member ReadFrom :
fileName : string *
readOptions : StkAttitudeFileOptions -> StkAttitudeFile
Parameters
- fileName
- Type: SystemString
The name of the file from which to read the attitude. - readOptions
- Type: AGI.Foundation.StkStkAttitudeFileOptions
An object containing any additional instructions for the read process.
Return Value
Type:
StkAttitudeFileAn
StkAttitudeFile instance containing the read attitude file.
Exceptions| Exception | Condition |
|---|
| InvalidDataException |
Thrown when the STK attitude file is invalid, or it contains unsupported properties or property values.
|
| ArgumentNullException |
Thrown when fileName is .
|
See Also