FiniteManeuverSegmentCreateOutOfFuelStoppingCondition Method (Scalar, String, Boolean, Double) |
Namespace:
AGI.Foundation.SegmentPropagation
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static ScalarStoppingCondition CreateOutOfFuelStoppingCondition(
Scalar fuelAmount,
string stoppingConditionIdentification,
bool stopPropagation,
double tolerance
)
Public Shared Function CreateOutOfFuelStoppingCondition (
fuelAmount As Scalar,
stoppingConditionIdentification As String,
stopPropagation As Boolean,
tolerance As Double
) As ScalarStoppingCondition
public:
static ScalarStoppingCondition^ CreateOutOfFuelStoppingCondition(
Scalar^ fuelAmount,
String^ stoppingConditionIdentification,
bool stopPropagation,
double tolerance
)
static member CreateOutOfFuelStoppingCondition :
fuelAmount : Scalar *
stoppingConditionIdentification : string *
stopPropagation : bool *
tolerance : float -> ScalarStoppingCondition
Parameters
- fuelAmount
- Type: AGI.Foundation.GeometryScalar
The amount of fuel, often the
IntegrationValue of a PropagationScalar. - stoppingConditionIdentification
- Type: SystemString
A name for the StoppingCondition. - stopPropagation
- Type: SystemBoolean
Indicates if the StoppingCondition actually stops propagation, or if it
should only indicate when fuel runs out but allow propagation continue with 0 fuel remaining. - tolerance
- Type: SystemDouble
The tolerance to use.
Return Value
Type:
ScalarStoppingConditionA
ScalarStoppingCondition that will stop propagation or otherwise indicate when the fuel quantity becomes 0.
See Also