SphericalHarmonicGravityModel.ReadFrom Method (TextReader) |
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static SphericalHarmonicGravityModel ReadFrom(
TextReader reader
)
Public Shared Function ReadFrom (
reader As TextReader
) As SphericalHarmonicGravityModel
public:
static SphericalHarmonicGravityModel^ ReadFrom(
TextReader^ reader
)
static member ReadFrom :
reader : TextReader -> SphericalHarmonicGravityModel
Parameters
- reader
- Type: System.IO.TextReader
TextReader for the .grv file to read.
Return Value
Type:
SphericalHarmonicGravityModelThe gravity model described in the file.
Exceptions
Remarks
If the .grv file contains uncommented SecularVariation RefEpochTDT and LinearRate lines,
the returned gravity model will include secular variations by default. If secular variations
are not desired,
SecularVariations must be manually set to
null.
See Also