SphericalHarmonicGravityModel Constructor (String, String, Double, Double, Double, Double, Double, Boolean, Boolean, SphericalHarmonicGravitySecularVariations) |
Initializes a new instance.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public SphericalHarmonicGravityModel(
string modelName,
string centralBodyName,
double gravitationalParameter,
double referenceDistance,
double[] zonalCoefficients,
double[][] cosineCoefficients,
double[][] sineCoefficients,
bool normalized,
bool includesPermanentTides,
SphericalHarmonicGravitySecularVariations secularVariations
)
Public Sub New (
modelName As String,
centralBodyName As String,
gravitationalParameter As Double,
referenceDistance As Double,
zonalCoefficients As Double(),
cosineCoefficients As Double()(),
sineCoefficients As Double()(),
normalized As Boolean,
includesPermanentTides As Boolean,
secularVariations As SphericalHarmonicGravitySecularVariations
)
public:
SphericalHarmonicGravityModel(
String^ modelName,
String^ centralBodyName,
double gravitationalParameter,
double referenceDistance,
array<double>^ zonalCoefficients,
array<array<double>^>^ cosineCoefficients,
array<array<double>^>^ sineCoefficients,
bool normalized,
bool includesPermanentTides,
SphericalHarmonicGravitySecularVariations^ secularVariations
)
new :
modelName : string *
centralBodyName : string *
gravitationalParameter : float *
referenceDistance : float *
zonalCoefficients : float[] *
cosineCoefficients : float[][] *
sineCoefficients : float[][] *
normalized : bool *
includesPermanentTides : bool *
secularVariations : SphericalHarmonicGravitySecularVariations -> SphericalHarmonicGravityModel
Parameters
- modelName
- Type: SystemString
The name of the gravitational model. - centralBodyName
- Type: SystemString
The name of the central body. - gravitationalParameter
- Type: SystemDouble
The gravitational parameter described by the central body. - referenceDistance
- Type: SystemDouble
The reference distance of the body. - zonalCoefficients
- Type: SystemDouble
The zonal gravity coefficients. - cosineCoefficients
- Type: SystemDouble
The cosine gravity coefficients. - sineCoefficients
- Type: SystemDouble
The sine gravity coefficients. - normalized
- Type: SystemBoolean
The flag representing whether the coefficients are normalized. - includesPermanentTides
- Type: SystemBoolean
The flag representing whether the coefficients include the effect of permanent tides. - secularVariations
- Type: AGI.Foundation.CelestialSphericalHarmonicGravitySecularVariations
A linear model for the secular variations of this gravity model.
if the model does not contain secular variations.
See Also