Click or drag to resize

SphericalHarmonicGravity Constructor (SphericalHarmonicGravity, CopyContext)

Initializes a new instance as a copy of an existing instance.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
protected SphericalHarmonicGravity(
	SphericalHarmonicGravity existingInstance,
	CopyContext context
)

Parameters

existingInstance
Type: AGI.Foundation.CelestialSphericalHarmonicGravity
The existing instance to copy.
context
Type: AGI.Foundation.InfrastructureCopyContext
A CopyContext that controls the depth of the copy.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when existingInstance or context is .
Remarks
See Clone(CopyContext) for more information about how to implement this constructor in a derived class.
See Also