|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.stela.propagation.StelaBasicInterpolator
public class StelaBasicInterpolator
Basic Linear Step Interpolator for StelaAbstractPropagator. Does not interpolate the attitude of the spacecraft at the moment.
| Constructor Summary | |
|---|---|
StelaBasicInterpolator()
Build a new instance from a basic propagator. |
|
| Method Summary | |
|---|---|
AbsoluteDate |
getCurrentDate()
Get the current grid date. |
SpacecraftState |
getInitialState()
|
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. |
double |
linearInterpolation(double linearCoeff,
double before,
double after)
Interpolates lineary |
void |
setAdditionalStateProviders(List<AdditionalStateProvider> additionalStateProvidersIn)
sets the additionalStateProviders |
void |
setInterpolatedDate(AbsoluteDate interpolatedDate)
Set the interpolated date. |
void |
storeSC(SpacecraftState initialStateIn,
SpacecraftState targetState)
Store the current dates and spacecraft states. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StelaBasicInterpolator()
| Method Detail |
|---|
public AbsoluteDate getCurrentDate()
getCurrentDate in interface OrekitStepInterpolatorpublic AbsoluteDate getInterpolatedDate()
If setInterpolatedDate
has not been called, the date returned is the same as getCurrentDate.
getInterpolatedDate in interface OrekitStepInterpolatorOrekitStepInterpolator.setInterpolatedDate(AbsoluteDate),
OrekitStepInterpolator.getInterpolatedState()
public SpacecraftState getInterpolatedState()
throws OrekitException
getInterpolatedState in interface OrekitStepInterpolatorOrekitException - if state cannot be interpolated or convertedOrekitStepInterpolator.getInterpolatedDate(),
OrekitStepInterpolator.setInterpolatedDate(AbsoluteDate)public AbsoluteDate getPreviousDate()
getPreviousDate in interface OrekitStepInterpolatorpublic boolean isForward()
isForward in interface OrekitStepInterpolatorpublic void setAdditionalStateProviders(List<AdditionalStateProvider> additionalStateProvidersIn)
additionalStateProvidersIn - the list of additional State providers
public void setInterpolatedDate(AbsoluteDate interpolatedDate)
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 OrekitStepInterpolatorinterpolatedDate - interpolated date to set
PropagationException - if underlying interpolator cannot handle
the dateOrekitStepInterpolator.getInterpolatedDate(),
OrekitStepInterpolator.getInterpolatedState()
public double linearInterpolation(double linearCoeff,
double before,
double after)
linearCoeff - the linear coefficientbefore - the previous stateafter - the current state
public void storeSC(SpacecraftState initialStateIn,
SpacecraftState targetState)
throws PropagationException
initialStateIn - the initial statetargetState - the target state
PropagationException - if the state cannot be propagated at specified datepublic SpacecraftState getInitialState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||