PropagationStateConverterConvertStateT Method  | 
 
            Convert a given state and auxiliary values to useful data based on the given element.
            
 
    Namespace: 
   AGI.Foundation.Propagators
    Assembly:
   AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic Motion<T> ConvertState<T>(
	string elementID,
	double[] state
)
Public Function ConvertState(Of T) ( 
	elementID As String,
	state As Double()
) As Motion(Of T)
public:
generic<typename T>
Motion<T> ConvertState(
	String^ elementID, 
	array<double>^ state
)
member ConvertState : 
        elementID : string * 
        state : float[] -> Motion<'T> 
Parameters
- elementID
 - Type: SystemString
The string identifying which propagation state or auxiliary state element to use when converting the raw state. - state
 - Type: SystemDouble
The raw state. 
Type Parameters
- T
 - The type corresponding to the output of the requested elementID.
            For instance, if requesting an elementID corresponding to an instance of a
            PropagationVector the type should be Cartesian but if the 
            elementID corresponds to an instance of a PropagationScalar
            the type should be double.
 
Return Value
Type: 
MotionTThe values corresponding to the output of the requested element for the given state.
See Also