Click or drag to resize

AzimuthAngleConstraint Constructor (IServiceProvider, LinkRole, Double, Double)

Initializes a new instance with the specified constrained link, constrained link end, start angle, and stop angle.

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 AzimuthAngleConstraint(
	IServiceProvider constrainedLink,
	LinkRole constrainedLinkEnd,
	double startAngle,
	double stopAngle
)

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 azimuth angle to the other object.
startAngle
Type: SystemDouble
The angle defining the beginning of the satisfaction region, in radians.
stopAngle
Type: SystemDouble
The angle defining the end of the satisfaction region, in radians.
Remarks

This constructor initializes the CentralBody property to the Earth instance that is in the CentralBodiesFacet instance in the CalculationContext.

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

See Also