Click or drag to resize

SegmentListResultsPropagateToAssumingTimeBasedStates Method

When a SegmentPropagator needs to go back and start at a point before the end of the previous segment, this method can be used to get that exact state to start at. This will adapt the state such that it is in the defined-ins of the segment right before the current segment. This method will take care of setting all of the nested segments overall ephemeris lists properly.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public virtual ITimeBasedState PropagateToAssumingTimeBasedStates(
	JulianDate dateToGetExactStateAt,
	SegmentResults currentSegmentResult,
	SegmentListResults currentOverallResults
)

Parameters

dateToGetExactStateAt
Type: AGI.Foundation.TimeJulianDate
The JulianDate that you need to start propagating from.
currentSegmentResult
Type: AGI.Foundation.SegmentPropagationSegmentResults
The SegmentResults of the current segment that needs to start somewhere in the results of a previous SegmentPropagator. This must include the fully configured adapters.
currentOverallResults
Type: AGI.Foundation.SegmentPropagationSegmentListResults
The SegmentListResults to search through. This should be the cumulative results passed into the current segments propagate method.

Return Value

Type: ITimeBasedState
The complete state at the dateToGetExactStateAt.
See Also