Package org.orekit.attitudes
Class PythonSwitchHandler
- java.lang.Object
-
- org.orekit.attitudes.PythonSwitchHandler
-
- All Implemented Interfaces:
AttitudesSequence.SwitchHandler
public class PythonSwitchHandler extends Object implements AttitudesSequence.SwitchHandler
-
-
Constructor Summary
Constructors Constructor Description PythonSwitchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectvoid
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 objectvoid
switchOccurred(AttitudeProvider preceding, AttitudeProvider following, SpacecraftState state)
Method called when attitude is switched from one law to another law.
-
-
-
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
-
switchOccurred
public void switchOccurred(AttitudeProvider preceding, AttitudeProvider following, SpacecraftState state)
Method called when attitude is switched from one law to another law.- Specified by:
switchOccurred
in interfaceAttitudesSequence.SwitchHandler
- Parameters:
preceding
- attitude law used preceding the switch (i.e. in the past of the switch event for a forward propagation, or in the future of the switch event for a backward propagation)following
- attitude law used following the switch (i.e. in the future of the switch event for a forward propagation, or in the past of the switch event for a backward propagation)state
- state at switch time (with attitude computed using thepreceding
law)
-
-