Package org.orekit.forces.maneuvers
Interface FieldImpulseProvider<T extends CalculusFieldElement<T>>
-
- 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 FieldImpulseProvider<T extends CalculusFieldElement<T>>
Interface providing velocity increment vectors to impulsive maneuvers (Field version).- Since:
- 13.0
- Author:
- Romain Serra
- See Also:
ImpulseProvider
,FieldImpulseManeuver
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldVector3D<T>
getImpulse(FieldSpacecraftState<T> state, boolean isForward, AttitudeProvider attitudeOverride)
Method returning the impulse to be applied (Field version).static <T extends CalculusFieldElement<T>>
FieldImpulseProvider<T>of(Field<T> field, Vector3D forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.static <T extends CalculusFieldElement<T>>
FieldImpulseProvider<T>of(FieldVector3D<T> forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.static <T extends CalculusFieldElement<T>>
FieldImpulseProvider<T>of(ImpulseProvider impulseProvider)
Get a provider from a non-Field version.
-
-
-
Method Detail
-
getImpulse
FieldVector3D<T> getImpulse(FieldSpacecraftState<T> state, boolean isForward, AttitudeProvider attitudeOverride)
Method returning the impulse to be applied (Field version).- 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 <T extends CalculusFieldElement<T>> FieldImpulseProvider<T> of(FieldVector3D<T> forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.- Type Parameters:
T
- field type- Parameters:
forwardImpulse
- forward impulse vector- Returns:
- constant provider
-
of
static <T extends CalculusFieldElement<T>> FieldImpulseProvider<T> of(Field<T> field, Vector3D forwardImpulse)
Get a provider returning a given vector for forward propagation and its opposite for backward.- Type Parameters:
T
- field type- Parameters:
field
- fieldforwardImpulse
- forward impulse vector- Returns:
- constant provider
-
of
static <T extends CalculusFieldElement<T>> FieldImpulseProvider<T> of(ImpulseProvider impulseProvider)
Get a provider from a non-Field version.- Type Parameters:
T
- field type- Parameters:
impulseProvider
- impulse provider- Returns:
- provider
-
-