Click or drag to resize

AltitudeConstraint Constructor (CentralBody, Double, Double)

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

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 AltitudeConstraint(
	CentralBody centralBody,
	double minimumValue,
	double maximumValue
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the altitude is computed.
minimumValue
Type: SystemDouble
The minimum allowed altitude value, in meters.
maximumValue
Type: SystemDouble
The maximum allowed altitude value, in meters.
Remarks

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