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.3.420.0 (24.3.420.0)
Syntax public static WaypointPropagator ConstructConstantVelocityWaypointPropagator(
CentralBody centralBody,
IList<JulianDate> times,
IList<Cartographic> positions
)
Public Shared Function ConstructConstantVelocityWaypointPropagator (
centralBody As CentralBody,
times As IList(Of JulianDate),
positions As IList(Of Cartographic)
) As WaypointPropagator
public:
static WaypointPropagator^ ConstructConstantVelocityWaypointPropagator(
CentralBody^ centralBody,
IList<JulianDate>^ times,
IList<Cartographic>^ positions
)
static member ConstructConstantVelocityWaypointPropagator :
centralBody : CentralBody *
times : IList<JulianDate> *
positions : IList<Cartographic> -> WaypointPropagator
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:
WaypointPropagatorA waypoint propagator where each coordinate is visited at the specified time, while traveling at constant speed
between coordinates.
Exceptions Exception | Condition |
---|
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