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 current 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 . |
OrekitStepInterpolator |
restrictStep(SpacecraftState newPreviousState,
SpacecraftState newCurrentState)
Create a new restricted version of the instance.
|
SpacecraftState getPreviousState()
boolean 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()
boolean 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)
date
- date of the interpolated stateboolean isForward()
OrekitStepInterpolator restrictStep(SpacecraftState newPreviousState, SpacecraftState newCurrentState)
The instance is not changed at all.
newPreviousState
- start of the restricted stepnewCurrentState
- end of the restricted stepgetPreviousState()
,
getCurrentState()
Copyright © 2002-2020 CS Group. All rights reserved.