|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.propagation.sampling.AdaptedStepHandler
public class AdaptedStepHandler
Adapt an OrekitStepHandler
to commons-math StepHandler interface.
| Constructor Summary | |
|---|---|
AdaptedStepHandler(OrekitStepHandler handler)
Build an instance. |
|
| 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. |
void |
handleStep(org.apache.commons.math.ode.sampling.StepInterpolator interpolator,
boolean isLast)
|
void |
initialize(AbsoluteDate reference,
Frame frame,
double mu,
AttitudeLaw attitudeLaw)
Initialize the mode handler. |
boolean |
isForward()
Check is integration direction is forward in date. |
boolean |
requiresDenseOutput()
|
void |
reset()
|
void |
setInterpolatedDate(AbsoluteDate date)
Set the interpolated date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdaptedStepHandler(OrekitStepHandler handler)
handler - underlying handler to wrap| Method Detail |
|---|
public void initialize(AbsoluteDate reference,
Frame frame,
double mu,
AttitudeLaw attitudeLaw)
initialize in interface ModeHandlerreference - reference dateframe - reference framemu - central body attraction coefficientattitudeLaw - attitude lawpublic boolean requiresDenseOutput()
requiresDenseOutput in interface org.apache.commons.math.ode.sampling.StepHandlerpublic void reset()
reset in interface org.apache.commons.math.ode.sampling.StepHandler
public void handleStep(org.apache.commons.math.ode.sampling.StepInterpolator interpolator,
boolean isLast)
throws org.apache.commons.math.ode.DerivativeException
handleStep in interface org.apache.commons.math.ode.sampling.StepHandlerorg.apache.commons.math.ode.DerivativeExceptionpublic AbsoluteDate getCurrentDate()
getCurrentDate in interface OrekitStepInterpolatorpublic AbsoluteDate getPreviousDate()
getPreviousDate in interface OrekitStepInterpolatorpublic AbsoluteDate getInterpolatedDate()
If setInterpolatedDate
has not been called, the date returned is the same as getCurrentDate.
getInterpolatedDate in interface OrekitStepInterpolatorsetInterpolatedDate(AbsoluteDate),
getInterpolatedState()public void setInterpolatedDate(AbsoluteDate date)
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 OrekitStepInterpolatordate - interpolated date to setgetInterpolatedDate(),
getInterpolatedState()
public SpacecraftState getInterpolatedState()
throws OrekitException
getInterpolatedState in interface OrekitStepInterpolatorOrekitException - if state cannot be interpolated or convertedgetInterpolatedDate(),
setInterpolatedDate(AbsoluteDate)public boolean isForward()
isForward in interface OrekitStepInterpolator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||