Click or drag to resize

HeightAboveHorizonConstraint Constructor (IServiceProvider, LinkRole, CentralBody, Double)

Initializes a new instance with the specified constrained link, constrained link end, central body, and minimum value.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 18.4.397.0 (18.4.397.0)
Syntax
public HeightAboveHorizonConstraint(
	IServiceProvider constrainedLink,
	LinkRole constrainedLinkEnd,
	CentralBody centralBody,
	double minimumValue
)

Parameters

constrainedLink
Type: SystemIServiceProvider
The link to which this constraint is applied.
constrainedLinkEnd
Type: AGI.Foundation.AccessLinkRole
The end of the link that is observing the height above horizon of the other object.
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 both AccessComputation and AccessQuery after being constructed using this constructor.

See Also