TwoBodyGravity Constructor (TwoBodyGravity, 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: 24.2.419.0 (24.2.419.0)
Syntax protected TwoBodyGravity(
TwoBodyGravity existingInstance,
CopyContext context
)
Protected Sub New (
existingInstance As TwoBodyGravity,
context As CopyContext
)
protected:
TwoBodyGravity(
TwoBodyGravity^ existingInstance,
CopyContext^ context
)
new :
existingInstance : TwoBodyGravity *
context : CopyContext -> TwoBodyGravity
Parameters
- existingInstance
- Type: AGI.Foundation.CelestialTwoBodyGravity
The existing instance to copy. - context
- Type: AGI.Foundation.InfrastructureCopyContext
A CopyContext that controls the depth of the copy.
Exceptions Remarks
See
Clone(CopyContext) for more information about how to implement this constructor
in a derived class.
See Also