Click or drag to resize

AircraftStateElementConverterAdjustStateWithTypeT Method (Double, MotionT)

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

Namespace:  AGI.Foundation.AircraftPropagation
Assembly:  AGI.Foundation.AircraftPropagation (in AGI.Foundation.AircraftPropagation.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public override bool AdjustStateWithType<T>(
	double[] overallRawState,
	Motion<T> newStateElement
)

Parameters

overallRawState
Type: SystemDouble
The overall raw state to adjust.
newStateElement
Type: AGI.FoundationMotionT
The new values and derivatives for the requested element.

Type Parameters

T
The type corresponding to the TypeOfOutput of this element.

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.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the newStateElement are not an instance of Motion<Cartesian>.
See Also