Click or drag to resize

CentralBodySurfaceRegionConstraint Constructor (IEnumerableCartographic, IServiceProvider)

Initializes a new instance with the specified region and object.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public CentralBodySurfaceRegionConstraint(
	IEnumerable<Cartographic> surfaceRegion,
	IServiceProvider constrainedObject
)

Parameters

surfaceRegion
Type: System.Collections.GenericIEnumerableCartographic
The ordered planetodetic vertices of region with which the SurfaceRegion. The last vertex is automatically connected with the first.
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