AltitudeConstraint Constructor (CentralBody, Double) |
Initializes a new instance with the specified central body and maximum value.
Namespace:
AGI.Foundation.Access.Constraints
Assembly:
AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic AltitudeConstraint(
CentralBody centralBody,
double maximumValue
)
Public Sub New (
centralBody As CentralBody,
maximumValue As Double
)
public:
AltitudeConstraint(
CentralBody^ centralBody,
double maximumValue
)
new :
centralBody : CentralBody *
maximumValue : float -> AltitudeConstraint
Parameters
- centralBody
- Type: AGI.Foundation.Celestial.CentralBody
The central body relative to which the altitude is computed. - maximumValue
- Type: System.Double
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