Click or drag to resize

SegmentPropagatorPropagate Method (ITimeBasedState, SegmentListResults)

Propagates the segment starting from the initialState.

Namespace:  AGI.Foundation.SegmentPropagation
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
public SegmentResults Propagate(
	ITimeBasedState initialState,
	SegmentListResults cumulativeResults


Type: AGI.Foundation.CoordinatesITimeBasedState
The initial state for this segment to propagate from. This is usually the final state of the previous segment. It will be processed by any the state element adapters before being propagated.
Type: AGI.Foundation.SegmentPropagationSegmentListResults
The results of the SegmentListPropagator that contains this segment. This may be if this segment is being propagated independent of a SegmentListPropagator. In the simple case, this is only needed to provide the initial state that this SegmentPropagator should start propagating from. However, if the concrete SegmentPropagator will propagate multiple segments, then the StateForNextSegment must be set after each individual SegmentPropagator is propagated. You may also need to maintain the SegmentResults collection to avoid having the same SegmentResults included twice (the SegmentResults for each SegmentPropagator gets added automatically to the cumulativeResults when it is propagated). Also, if there is even the possibility of the SegmentPropagator needing to back up into a previous segment, the RegenerateEphemerisForOverallTrajectory method after each child SegmentPropagator is propagated.

Return Value

Type: SegmentResults
This segments propagation results. See the documentation of the derived type to determine if these SegmentResults may be cast to a more specific type.
See Also