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

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