public class AircraftMotionElement extends Object
PropagationStateElements
representing the position (and velocity) of an aircraft which share the same IntegrationPoint
(get
)
but whose second derivatives are provided by different Maneuvers
.Constructor and Description |
---|
AircraftMotionElement(String id,
AircraftReferenceState initialState,
WindModel winds)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
PropagationPointElement |
applyManeuver(Maneuver maneuver)
Produces a point
PropagationStateElement that uses the provided maneuver definition to compute the derivatives for integration. |
String |
getIdentification()
Gets the string identifying this instance in the overall output.
|
Cartesian |
getInitialPosition()
Gets the initial position in the fixed frame.
|
Cartesian |
getInitialVelocity()
Gets the initial velocity in the fixed frame.
|
Point |
getIntegrationPoint()
Gets a
Point which is parameterized on the position and velocity in the state
during integration. |
Scalar |
getMass()
Gets the mass used to determine the equations of motion.
|
void |
setIdentification(String value)
Sets the string identifying this instance in the overall output.
|
void |
setInitialPosition(Cartesian value)
Sets the initial position in the fixed frame.
|
void |
setInitialVelocity(Cartesian value)
Sets the initial velocity in the fixed frame.
|
void |
setMass(Scalar value)
Sets the mass used to determine the equations of motion.
|
public AircraftMotionElement(String id, @Nonnull AircraftReferenceState initialState, @Nonnull WindModel winds)
id
- A unique string identifying this position in the integration output.initialState
- The state at the starting epoch of propagation.winds
- The wind model to be applied when converting the state to the fixed frame.public final String getIdentification()
public final void setIdentification(String value)
@Nonnull public final Cartesian getInitialPosition()
public final void setInitialPosition(@Nonnull Cartesian value)
@Nonnull public final Cartesian getInitialVelocity()
public final void setInitialVelocity(@Nonnull Cartesian value)
public final Point getIntegrationPoint()
Point
which is parameterized on the position and velocity in the state
during integration.
This point is only valid while the NumericalPropagator
is running.
For more general use, a PointInterpolator
should be created from the
NumericalPropagationStateHistory
produced by the propagator.public final Scalar getMass()
PropagationStateElement
must be added to
the set of integration elements to account for the change in mass over time.public final void setMass(Scalar value)
PropagationStateElement
must be added to
the set of integration elements to account for the change in mass over time.@Nonnull public final PropagationPointElement applyManeuver(@Nonnull Maneuver maneuver)
PropagationStateElement
that uses the provided maneuver definition to compute the derivatives for integration.maneuver
- The maneuver definition which will define the derivatives for integration.