Click or drag to resize

CentralBodySurfaceRegionConstraint Constructor (EllipsoidSurfaceRegion, IServiceProvider)

Initializes a new instance with the specified surface region and object.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public CentralBodySurfaceRegionConstraint(
	EllipsoidSurfaceRegion surfaceRegion,
	IServiceProvider constrainedObject
)

Parameters

surfaceRegion
Type: AGI.Foundation.Geometry.ShapesEllipsoidSurfaceRegion
The EllipsoidSurfaceRegion with which the SurfaceRegion is initialized.
constrainedObject
Type: SystemIServiceProvider
The object to which this constraint is applied.
Remarks
This constructor initializes the CentralBody property of the SurfaceRegion to the Earth instance that is in the CentralBodiesFacet instance in the CalculationContext as the CentralBody.
See Also