Click or drag to resize

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: 23.1.416.0 (23.1.416.0)
public Motion<T> ConvertState<T>(
	string elementID,
	double[] state


Type: SystemString
The string identifying which propagation state or auxiliary state element to use when converting the raw state.
Type: SystemDouble
The raw state.

Type Parameters

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: MotionT
The values corresponding to the output of the requested element for the given state.
See Also