|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orekit.propagation.sampling.BasicStepInterpolator
public class BasicStepInterpolator
Implementation of the OrekitStepInterpolator
interface based
on a Propagator
.
Constructor Summary | |
---|---|
BasicStepInterpolator(Propagator propagator)
Build a new instance from a basic propagator. |
Method Summary | |
---|---|
AbsoluteDate |
getCurrentDate()
Get the current grid date. |
AbsoluteDate |
getInterpolatedDate()
Get the interpolated date. |
SpacecraftState |
getInterpolatedState()
Get the interpolated state. |
AbsoluteDate |
getPreviousDate()
Get the previous grid date. |
boolean |
isForward()
Check is integration direction is forward in date. |
void |
setInterpolatedDate(AbsoluteDate date)
Set the interpolated date. |
void |
shift()
Shift one step forward. |
void |
storeDate(AbsoluteDate date)
Store the current step date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicStepInterpolator(Propagator propagator)
propagator
- underlying propagator to useMethod Detail |
---|
public AbsoluteDate getCurrentDate()
getCurrentDate
in interface OrekitStepInterpolator
public AbsoluteDate getInterpolatedDate()
If setInterpolatedDate
has not been called, the date returned is the same as getCurrentDate
.
getInterpolatedDate
in interface OrekitStepInterpolator
OrekitStepInterpolator.setInterpolatedDate(AbsoluteDate)
,
OrekitStepInterpolator.getInterpolatedState()
public SpacecraftState getInterpolatedState() throws OrekitException
getInterpolatedState
in interface OrekitStepInterpolator
OrekitException
- if state cannot be interpolated or convertedOrekitStepInterpolator.getInterpolatedDate()
,
OrekitStepInterpolator.setInterpolatedDate(AbsoluteDate)
public AbsoluteDate getPreviousDate()
getPreviousDate
in interface OrekitStepInterpolator
public boolean isForward()
isForward
in interface OrekitStepInterpolator
public void setInterpolatedDate(AbsoluteDate date) throws PropagationException
It is possible to set the interpolation date outside of the current step range, but accuracy will decrease as date is farther.
setInterpolatedDate
in interface OrekitStepInterpolator
date
- interpolated date to set
PropagationException
- if underlying interpolator cannot handle
the dateOrekitStepInterpolator.getInterpolatedDate()
,
OrekitStepInterpolator.getInterpolatedState()
public void shift()
storeDate
public void storeDate(AbsoluteDate date) throws PropagationException
date
- current date
PropagationException
- if the state cannot be propagated at specified date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |