public interface PatriusStepInterpolator extends Serializable
It mirrors the StepInterpolator
interface from
commons-math but provides a space-dynamics interface to the methods.
Modifier and Type | Method and Description |
---|---|
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.
|
AbsoluteDate getCurrentDate()
AbsoluteDate getPreviousDate()
AbsoluteDate getInterpolatedDate()
If setInterpolatedDate
has not been called, the date returned is the
same as getCurrentDate
.
setInterpolatedDate(AbsoluteDate)
,
getInterpolatedState()
void setInterpolatedDate(AbsoluteDate date) throws PropagationException, PatriusException
It is possible to set the interpolation date outside of the current step range, but accuracy will decrease as date is farther.
date
- interpolated date to setPropagationException
- if underlying interpolator cannot handle the datePatriusException
- if attitude cannot be computedgetInterpolatedDate()
,
getInterpolatedState()
SpacecraftState getInterpolatedState() throws PatriusException
PatriusException
- if state cannot be interpolated or convertedgetInterpolatedDate()
,
setInterpolatedDate(AbsoluteDate)
boolean isForward()
Copyright © 2021 CNES. All rights reserved.