Class PythonFieldManeuverTriggersResetter<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.forces.maneuvers.trigger.PythonFieldManeuverTriggersResetter<T>
-
- All Implemented Interfaces:
FieldManeuverTriggersResetter<T>
public class PythonFieldManeuverTriggersResetter<T extends CalculusFieldElement<T>> extends Object implements FieldManeuverTriggersResetter<T>
-
-
Constructor Summary
Constructors Constructor Description PythonFieldManeuverTriggersResetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectvoid
maneuverTriggered(FieldSpacecraftState<T> state, boolean start)
Observe a maneuver trigger.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to objectFieldSpacecraftState<T>
resetState(FieldSpacecraftState<T> state)
Reset state as a maneuver triggers.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.forces.maneuvers.trigger.FieldManeuverTriggersResetter
init
-
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
maneuverTriggered
public void maneuverTriggered(FieldSpacecraftState<T> state, boolean start)
Observe a maneuver trigger.The
start
parameter corresponds to physical flow of time from past to future, not to propagation direction which can be backward. This means that during forward propagations, the first call will havestart
set totrue
and the second call will havestart
set tofalse
, whereas in backward propagation, the first call will havestart
set tofalse
and the second call will havestart
set totrue
.- Specified by:
maneuverTriggered
in interfaceFieldManeuverTriggersResetter<T extends CalculusFieldElement<T>>
- Parameters:
state
- spacecraft state at trigger date (before applying the maneuver)start
- if true, the trigger is the start of the maneuver
-
resetState
public FieldSpacecraftState<T> resetState(FieldSpacecraftState<T> state)
Reset state as a maneuver triggers.- Specified by:
resetState
in interfaceFieldManeuverTriggersResetter<T extends CalculusFieldElement<T>>
- Parameters:
state
- spacecraft state at trigger date- Returns:
- reset state taking into account maneuver start/stop
-
-