Package org.orekit.forces.maneuvers
Interface ImpulseProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ImpulseProvider
Interface providing velocity increment vectors to impulsive maneuvers.- Since:
- 13.0
- Author:
- Romain Serra
- See Also:
ImpulseManeuver
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Vector3D
getImpulse(SpacecraftState state, boolean isForward, AttitudeProvider attitudeOverride)
Method returning the impulse to be applied.static ImpulseProvider
of(Vector3D forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.
-
-
-
Method Detail
-
getImpulse
Vector3D getImpulse(SpacecraftState state, boolean isForward, AttitudeProvider attitudeOverride)
Method returning the impulse to be applied.- Parameters:
state
- state before the maneuver is applied ifisForward
is true, after otherwiseisForward
- flag on propagation directionattitudeOverride
- maneuver attitude override, can be null- Returns:
- impulse in satellite's frame
-
of
static ImpulseProvider of(Vector3D forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.- Parameters:
forwardImpulse
- forward impulse vector- Returns:
- constant provider
-
-