Click or drag to resize

ThirdBodyElevationAngleConstraint Constructor (IServiceProvider, Point, Double, Double)

Initializes a new instance with the specified constrained object, third body point, minimum value, and maximum value.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public ThirdBodyElevationAngleConstraint(
	IServiceProvider constrainedObject,
	Point thirdBodyPoint,
	double minimumValue,
	double maximumValue
)

Parameters

constrainedObject
Type: SystemIServiceProvider
The object to which this constraint is applied.
thirdBodyPoint
Type: AGI.Foundation.GeometryPoint
The center of mass point for the third body.
minimumValue
Type: SystemDouble
The minimum required elevation angle, in radians.
maximumValue
Type: SystemDouble
The maximum allowed elevation angle, in radians.
Remarks

This constructor initializes the CentralBody property to the Earth instance that is in the CentralBodiesFacet instance in the CalculationContext.

This constraint is ready for use with both AccessComputation and AccessQuery after being constructed using this constructor.

See Also