WaypointPropagator Constructor (CentralBody, Waypoint) |
Initializes a waypoint propagator.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic WaypointPropagator(
CentralBody centralBody,
params Waypoint[] waypoints
)
Public Sub New (
centralBody As CentralBody,
ParamArray waypoints As Waypoint()
)
public:
WaypointPropagator(
CentralBody^ centralBody,
... array<Waypoint^>^ waypoints
)
new :
centralBody : CentralBody *
waypoints : Waypoint[] -> WaypointPropagatorParameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The reference central body. - waypoints
- Type: AGI.Foundation.PropagatorsWaypoint
The list of waypoints that define the path and motion.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when centralBody or waypoints is .
|
| ArgumentException |
Thrown when waypoints does not contain at least two items.
|
| ArithmeticException |
Thrown when the waypoint collection does not model constant accelerations between the waypoints.
|
See Also