Click or drag to resize

ElevationAngleConstraint Constructor (IServiceProvider, LinkRole, CentralBody, Double, Double)

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

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

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 elevation angle to the other object.
centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the elevation is computed.
minimumValue
Type: SystemDouble
The minimum required elevation angle, in radians.
maximumValue
Type: SystemDouble
The maximum allowed elevation angle, in radians.
Remarks

This constraint is ready for use with both AccessComputation and AccessQuery after being constructed using this constructor.

See Also