Click or drag to resize

SphericalHarmonicGravityModelReadFrom Method (TextReader)

Reads the gravity model information in from a TextReader and returns a SphericalHarmonicGravityModel

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static SphericalHarmonicGravityModel ReadFrom(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
TextReader for the .grv file to read.

Return Value

Type: SphericalHarmonicGravityModel
The gravity model described in the file.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when reader is .
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 .
See Also