Click or drag to resize

AzimuthElevationMaskConstraint Constructor (IServiceProvider, LinkRole)

Initializes a new instance with the specified constrained link and constrained link end. The constraint will require a minimum elevation angle above the terrain of 0.0 radians. In other words, a line-of-sight between the two ends of the link that just grazes the terrain will be considered to allow access between the two objects, as will any line of sight that is above the terrain.

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 AzimuthElevationMaskConstraint(
	IServiceProvider constrainedLink,
	LinkRole constrainedLinkEnd
)

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.
Remarks

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

See Also