WaypointPropagator.DetermineFinalVelocity Method |
Assuming constant acceleration, determines the final velocity from the provided parameters.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double DetermineFinalVelocity(
double displacement,
double duration,
double initialVelocity
)
Public Shared Function DetermineFinalVelocity (
displacement As Double,
duration As Double,
initialVelocity As Double
) As Double
public:
static double DetermineFinalVelocity(
double displacement,
double duration,
double initialVelocity
)
static member DetermineFinalVelocity :
displacement : float *
duration : float *
initialVelocity : float -> float
Parameters
- displacement
- Type: System.Double
The total displacement between the initial and final points (distance). - duration
- Type: System.Double
The total duration between the initial and final points (time). - initialVelocity
- Type: System.Double
The velocity at the initial point (distance per time).
Return Value
Type:
DoubleThe velocity at the final point (distance per time).
Remarks- The displacement should not be zero.
- The duration should be positively valued.
- The displacement and initial velocity should have the same sign.
- The initial velocity may be zero.
See Also