Click or drag to resize

SurfaceDistanceConstraint Constructor (Double, Double)

Initializes a new instance with the specified 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 SurfaceDistanceConstraint(
	double minimumValue,
	double maximumValue
)

Parameters

minimumValue
Type: SystemDouble
The minimum required surface distance, in meters.
maximumValue
Type: SystemDouble
The maximum allowed surface distance, in meters.
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 AccessComputation after being constructed using this constructor. However, before evaluating this constraint as part of an AccessQuery, it is also necessary to set the ConstrainedLink and ConstrainedLinkEnd properties.

See Also