SphericalHarmonicGravityField Constructor (SphericalHarmonicGravityModel, CentralBody, Int32, Int32, Int32, Int32, Boolean, SolidTideModel) | 
 
            Initializes a new instance from a 
SphericalHarmonicGravityModel,
            a 
CentralBody, the degree and order
            of the subset of the model that this field represents, the
            degree and order to use when calculating partial derivatives, and a boolean
            representing whether to include two body forces.
            
 
    Namespace: 
   AGI.Foundation.Celestial
    Assembly:
   AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic SphericalHarmonicGravityField(
	SphericalHarmonicGravityModel gravityModel,
	CentralBody centralBody,
	int degree,
	int order,
	int partialsDegree,
	int partialsOrder,
	bool includeTwoBody,
	SolidTideModel tideModel
)
Public Sub New ( 
	gravityModel As SphericalHarmonicGravityModel,
	centralBody As CentralBody,
	degree As Integer,
	order As Integer,
	partialsDegree As Integer,
	partialsOrder As Integer,
	includeTwoBody As Boolean,
	tideModel As SolidTideModel
)
public:
SphericalHarmonicGravityField(
	SphericalHarmonicGravityModel^ gravityModel, 
	CentralBody^ centralBody, 
	int degree, 
	int order, 
	int partialsDegree, 
	int partialsOrder, 
	bool includeTwoBody, 
	SolidTideModel^ tideModel
)
new : 
        gravityModel : SphericalHarmonicGravityModel * 
        centralBody : CentralBody * 
        degree : int * 
        order : int * 
        partialsDegree : int * 
        partialsOrder : int * 
        includeTwoBody : bool * 
        tideModel : SolidTideModel -> SphericalHarmonicGravityFieldParameters
- gravityModel
 - Type: AGI.Foundation.CelestialSphericalHarmonicGravityModel
The full gravity model to configure. - centralBody
 - Type: AGI.Foundation.CelestialCentralBody
The central body to use for this gravity field instead
            of referencing CentralBodyName - degree
 - Type: SystemInt32
The desired degree. The configured gravity field will have
            this degree if FileDegree allows it. - order
 - Type: SystemInt32
The desired order. The configured gravity field will have
            this degree if FileDegree,
            FileOrder and degree allow it. - partialsDegree
 - Type: SystemInt32
The degree to use for calculating partial derivatives. - partialsOrder
 - Type: SystemInt32
The order to use for calculating partial derivatives. - includeTwoBody
 - Type: SystemBoolean
The flag representing whether a force model
            using this field should include two body gravity, or just the higher order perturbations. - tideModel
 - Type: AGI.Foundation.CelestialSolidTideModel
The solid tide model that incorporates the effects of tides upon the gravity model. 
Exceptions
See Also