Click or drag to resize

StateElementAdapterHelpersAdaptEphemeris Method

Adapts the ephemeris using the adapters provided. A new list of ITimeBasedStates will be returned. The states will have been cloned using the context and those clones adapted, leaving the original states alone.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static List<ITimeBasedState> AdaptEphemeris(
	IList<ITimeBasedState> ephemeris,
	IList<StateElementAdapter> adapters,
	CopyContext context
)

Parameters

ephemeris
Type: System.Collections.GenericIListITimeBasedState
The ephemeris to be adapted.
adapters
Type: System.Collections.GenericIListStateElementAdapter
The adapters to adapt the ephemeris.
context
Type: AGI.Foundation.InfrastructureCopyContext
The context to use to clone the states in the ephemeris.

Return Value

Type: ListITimeBasedState
A new list of cloned and adapted states.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when ephemeris or context is .
See Also