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.3.420.0 (24.3.420.0)
Syntax public static List<ITimeBasedState> AdaptEphemeris(
IList<ITimeBasedState> ephemeris,
IList<StateElementAdapter> adapters,
CopyContext context
)
Public Shared Function AdaptEphemeris (
ephemeris As IList(Of ITimeBasedState),
adapters As IList(Of StateElementAdapter),
context As CopyContext
) As List(Of ITimeBasedState)
public:
static List<ITimeBasedState^>^ AdaptEphemeris(
IList<ITimeBasedState^>^ ephemeris,
IList<StateElementAdapter^>^ adapters,
CopyContext^ context
)
static member AdaptEphemeris :
ephemeris : IList<ITimeBasedState> *
adapters : IList<StateElementAdapter> *
context : CopyContext -> List<ITimeBasedState>
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:
ListITimeBasedStateA new list of cloned and adapted states.
Exceptions See Also