Click or drag to resize

AircraftStateElementConverterAdjustStateFromElement Method

Adjust the subset of the overall raw state corresponding to this element to new values.

Namespace:  AGI.Foundation.AircraftPropagation
Assembly:  AGI.Foundation.AircraftPropagation (in AGI.Foundation.AircraftPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public override bool AdjustStateFromElement(
	double[] overallRawState,
	Motion<double[]> stateElementValues
)

Parameters

overallRawState
Type: SystemDouble
The overall raw state to adjust.
stateElementValues
Type: AGI.FoundationMotionDouble
The new values and derivatives for the requested element represented as an array. To obtain an instance of this array, call GetElementFromState(Double).

Return Value

Type: Boolean
True if the update was successful. Otherwise, if the specified new element values did not contain enough derivatives or there was some other problem completing the update, this returns false.
See Also