Click or drag to resize

NumericalInitialStateSegmentGetElementAdapter Method

Returns the adapter for the given state element. The StateElementAdapters handle the various transformations of the propagated elements between segments (for example, if the integration frame of a point being propagated changes from one segment to another, the adapter is what handles that transformation between segment). All elements propagated by this segment must have an adapter returned by this method (even if that adapter simply returns the original state). If multiple segments are being propagated by this segment (as a SegmentList would), this must return the adapter of the StateElementAdapter of the element for the final known segment getting propagated.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override StateElementAdapterDefinition GetElementAdapter(
	string element
)

Parameters

element
Type: SystemString
The element whose StateElementAdapter is needed.

Return Value

Type: StateElementAdapterDefinition
The adapter with the element defined-in set, or if there is no such factory.
Remarks

In general, the concrete SegmentDefinition should have a list of the adapter factory instances that are valid for this segment, and then this method would get the element definition object from this segments configuration.

See Also