SurfaceDistanceConstraint 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.3.420.0 (24.3.420.0)
Syntax public SurfaceDistanceConstraint(
IServiceProvider constrainedLink,
LinkRole constrainedLinkEnd,
CentralBody centralBody,
double minimumValue,
double maximumValue
)
Public Sub New (
constrainedLink As IServiceProvider,
constrainedLinkEnd As LinkRole,
centralBody As CentralBody,
minimumValue As Double,
maximumValue As Double
)
public:
SurfaceDistanceConstraint(
IServiceProvider^ constrainedLink,
LinkRole constrainedLinkEnd,
CentralBody^ centralBody,
double minimumValue,
double maximumValue
)
new :
constrainedLink : IServiceProvider *
constrainedLinkEnd : LinkRole *
centralBody : CentralBody *
minimumValue : float *
maximumValue : float -> SurfaceDistanceConstraint
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 surface distance to the other object. - centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body relative to which the surface distance is computed. - minimumValue
- Type: SystemDouble
The minimum required surface distance, in meters. - maximumValue
- Type: SystemDouble
The maximum allowed surface distance, in meters.
Remarks See Also