Click or drag to resize

HeightAboveHorizonConstraint Constructor (CentralBody, Double)

Initializes a new instance with the specified central body and minimum 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 HeightAboveHorizonConstraint(
	CentralBody centralBody,
	double minimumValue
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the height above horizon is computed.
minimumValue
Type: SystemDouble
The minimum required height above horizon, 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 also necessary to set the ConstrainedLink and ConstrainedLinkEnd properties.

See Also