Click or drag to resize

CentralBodyObstructionConstraint Constructor (CentralBody)

Initializes a new instance with the specified central body.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public CentralBodyObstructionConstraint(
	CentralBody centralBody
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body which obstructs visibility.
Remarks

Before evaluating this constraint as part of an AccessQuery, it is necessary to set the ConstrainedLink property.

This constraint is ready for use as an AccessConstraintsExtension after being constructed using this constructor. However, before evaluating this constraint as part of an AccessQuery, it is also necessary to set the ConstrainedLink property.

See Also