Click or drag to resize

AltitudeConstraint Constructor (IServiceProvider, CentralBody, Double)

Initializes a new instance with the specified constrained object, central body, 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 AltitudeConstraint(
	IServiceProvider constrainedObject,
	CentralBody centralBody,
	double maximumValue
)

Parameters

constrainedObject
Type: SystemIServiceProvider
The object to which this constraint is applied.
centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the altitude is computed.
maximumValue
Type: SystemDouble
The maximum allowed altitude value, in meters.
Remarks

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

See Also