public class PythonOrekitFixedStepHandler extends Object implements OrekitFixedStepHandler
It mirrors the FixedStepHandler
interface from commons-math but provides
a space-dynamics interface to the methods.
Constructor and Description |
---|
PythonOrekitFixedStepHandler() |
Modifier and Type | Method and Description |
---|---|
void |
finalize()
Part of JCC Python interface to object
|
void |
handleStep(SpacecraftState currentState,
boolean isLast)
Handle the current step.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize step handler at the start of a propagation.
|
void |
pythonDecRef()
Part of JCC Python interface to object
|
long |
pythonExtension()
Part of JCC Python interface to object
|
void |
pythonExtension(long pythonObject)
Part of JCC Python interface to object
|
public void pythonExtension(long pythonObject)
public long pythonExtension()
public void finalize() throws Throwable
public void pythonDecRef()
public void init(SpacecraftState s0, AbsoluteDate t) throws PropagationException
This method is called once at the start of the propagation. It may be used by the step handler to initialize some internal data if needed.
init
in interface OrekitFixedStepHandler
s0
- initial statet
- target time for the integrationPropagationException
- if step handler cannot be initializedpublic void handleStep(SpacecraftState currentState, boolean isLast) throws PropagationException
handleStep
in interface OrekitFixedStepHandler
currentState
- current state at step timeisLast
- if true, this is the last integration stepPropagationException
- if step cannot be handledCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.