Click or drag to resize

CartesianOnePointPropagatorPropagate Method (JulianDate, JulianDate, Duration, Int32, ReferenceFrame)

Calculates position (and zero or more derivatives) for regular time steps over an interval.

Note: when propagating, it may be more efficient to specify times using an arithmetically safe TimeStandard to avoid the need to convert in order to perform the propagation. The length of a time step may be different in different TimeStandards. So be careful when specifying times.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public DateMotionCollection<Cartesian> Propagate(
	JulianDate startDate,
	JulianDate stopDate,
	Duration timeStep,
	int order,
	ReferenceFrame outputReferenceFrame
)

Parameters

startDate
Type: AGI.Foundation.TimeJulianDate
The first date for which to calculate position and velocity.
stopDate
Type: AGI.Foundation.TimeJulianDate
The last date for which to calculate position and velocity.
timeStep
Type: AGI.Foundation.TimeDuration
The Duration between each ephemeris point.
order
Type: SystemInt32
The order of the highest derivative to compute. To compute just position, pass 0. To compute position and velocity (if available), pass 1. And so on.
outputReferenceFrame
Type: AGI.Foundation.GeometryReferenceFrame
The reference frame in which the generated ephemeris data is to be expressed.

Return Value

Type: DateMotionCollectionCartesian
A list of date and motion for each step in the interval. The stopDate is always the last point in the list even when this makes the step between the second-to-last and last points less than the specified step.
Remarks
This method takes advantage of the ThreadingPolicy to improve performance.
See Also