Click or drag to resize

WaypointPropagatorConstructConstantVelocityWaypointPropagator Method

Creates a waypoint propagator from a list of times and locations. The object will travel from point to point at a constant ground speed and rate of climb, with discontinuous jumps in those parameters at the waypoints.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static WaypointPropagator ConstructConstantVelocityWaypointPropagator(
	CentralBody centralBody,
	IList<JulianDate> times,
	IList<Cartographic> positions
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The reference central body.
times
Type: System.Collections.GenericIListJulianDate
The list of times the point will be at the given positions.
positions
Type: System.Collections.GenericIListCartographic
The list of positions the point will be at the given times.

Return Value

Type: WaypointPropagator
A waypoint propagator where each coordinate is visited at the specified time, while traveling at constant speed between coordinates.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when centralBody, times, or positions is .
ArgumentException Thrown when the times and positions lists have different numbers of elements, or do not contain at least two items each.
See Also