SphericalHarmonicGravityModelReadFrom Method (String) |
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(
string fileName
)
Public Shared Function ReadFrom (
fileName As String
) As SphericalHarmonicGravityModel
public:
static SphericalHarmonicGravityModel^ ReadFrom(
String^ fileName
)
static member ReadFrom :
fileName : string -> SphericalHarmonicGravityModel
Parameters
- fileName
- Type: SystemString
Name of the gravity file from which 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
.
See Also