Click or drag to resize

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

Parameters

elementID
Type: System.String
The string identifying which propagation state or auxiliary state element to use when converting the raw state.
state
Type:System.Double[]
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: Motion<T>
The values corresponding to the output of the requested element for the given state.
See Also