Click or drag to resize

AltitudeConstraint Constructor (Double, Double)

Initializes a new instance with the specified minimum value and maximum value.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.1.418.0 (24.1.418.0)
public AltitudeConstraint(
	double minimumValue,
	double maximumValue


Type: SystemDouble
The minimum allowed altitude value, in meters.
Type: SystemDouble
The maximum allowed altitude value, in meters.

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

This constraint is ready for use with AccessComputation after being constructed using this constructor. However, before evaluating this constraint as part of an AccessQuery, it is necessary to set the ConstrainedObject property.

See Also