RotationVectorAngularVelocityStateElementConverter.AdjustStateFromElement Method |
Adjust the subset of the overall raw state corresponding to this element to new values.
Namespace:
AGI.Foundation.Propagators.Advanced
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic override bool AdjustStateFromElement(
double[] overallRawState,
Motion<double[]> stateElementValues
)
Public Overrides Function AdjustStateFromElement (
overallRawState As Double(),
stateElementValues As Motion(Of Double())
) As Boolean
public:
virtual bool AdjustStateFromElement(
array<double>^ overallRawState,
Motion<array<double>^> stateElementValues
) override
abstract AdjustStateFromElement :
overallRawState : float[] *
stateElementValues : Motion<float[]> -> bool
override AdjustStateFromElement :
overallRawState : float[] *
stateElementValues : Motion<float[]> -> bool
Parameters
- overallRawState
- Type:System.Double[]
The overall raw state to adjust. - stateElementValues
- Type: AGI.Foundation.Motion<Double[]>
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:
BooleanTrue 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