public interface OrekitStepInterpolator
It mirrors the ODEStateInterpolator
interface from Hipparchus but
provides a space-dynamics interface to the methods.
Modifier and Type | Method and Description |
---|---|
SpacecraftState |
getCurrentState()
Get the state at previous grid point date.
|
SpacecraftState |
getInterpolatedState(AbsoluteDate date)
Get the state at interpolated date.
|
SpacecraftState |
getPreviousState()
Get the state at previous grid point date.
|
boolean |
isCurrentStateInterpolated()
Determines if the
current state is computed directly by
the integrator, or if it is calculated using interpolation . |
boolean |
isForward()
Check is integration direction is forward in date.
|
boolean |
isPreviousStateInterpolated()
Determines if the
previous state is computed directly
by the integrator, or if it is calculated using interpolation . |
SpacecraftState getPreviousState() throws OrekitException
OrekitException
- if state cannot be retrievedboolean isPreviousStateInterpolated()
previous state
is computed directly
by the integrator, or if it is calculated using interpolation
.
Typically the previous state is directly computed by the integrator, but when events are detected the steps are shortened so that events occur on step boundaries which means the previous state may be computed by the interpolator.
true
if the previous state was calculated by the interpolator and
false if it was computed directly by the integrator.SpacecraftState getCurrentState() throws OrekitException
OrekitException
- if state cannot be retrievedboolean isCurrentStateInterpolated()
current state
is computed directly by
the integrator, or if it is calculated using interpolation
.
Typically the current state is directly computed by the integrator, but when events are detected the steps are shortened so that events occur on step boundaries which means the current state may be computed by the interpolator.
true
if the current state was calculated by the interpolator and
false if it was computed directly by the integrator.SpacecraftState getInterpolatedState(AbsoluteDate date) throws OrekitException
date
- date of the interpolated stateOrekitException
- if underlying interpolator cannot handle
the dateboolean isForward()
Copyright © 2002-2016 CS Systèmes d'information. All rights reserved.