|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.utils.AbstractBoundedPVProvider org.orekit.utils.EphemerisPvLagrange
public class EphemerisPvLagrange
This class extends AbstractBoundedPVProvider
which implements PVCoordinatesProvider
and so provides a position velocity for a given date.
The provided position velocity is based on a Lagrange interpolation in a given position velocity ephemeris.
Tabulated entries are chronologically classified.
The interpolation extracts points from the ephemeris depending on the polynom order and the date to interpolate. Points extraction is based on an implementation of the ISearchIndex interface. This implementation should be based on a table of duration created from the date table with the duration = 0 at the first index.
Field Summary |
---|
Fields inherited from class org.orekit.utils.AbstractBoundedPVProvider |
---|
tDate, tPVCoord |
Constructor Summary | |
---|---|
EphemerisPvLagrange(PVCoordinates[] tabPV,
int order,
Frame frame,
AbsoluteDate[] tabDate,
ISearchIndex algo)
Creates an instance of EphemerisPvLagrange |
|
EphemerisPvLagrange(SpacecraftState[] tabState,
int order,
ISearchIndex algo)
Creates an instance of EphemerisPvLagrange from a spacecraftstate list |
Method Summary | |
---|---|
AbsoluteDate |
getMaxDate()
Return the higher date authorized to call getPVCoordinates. |
AbsoluteDate |
getMinDate()
Return the lower date authorized to call getPVCoordinates. |
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Frame can be null : by default the frame of expression is the frame used at instantiation (which is the frame of the first spacecraft state when instantiation is done from a table of spacecraft states). |
Methods inherited from class org.orekit.utils.AbstractBoundedPVProvider |
---|
getDateRef, getFrame, getPreviousIndex, getSearchIndex, setPreviousIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EphemerisPvLagrange(PVCoordinates[] tabPV, int order, Frame frame, AbsoluteDate[] tabDate, ISearchIndex algo)
tabPV
- position velocity coordinates tableorder
- lagrange polynome orderframe
- coordinates expression frametabDate
- table of dates for each position velocityalgo
- class to find the nearest date index from a given date in the date table.
(If null, algo will be BinarySearchIndexOpenClosed
by default
based on a table of duration since the first date of the dates table)
IllegalArgumentException
- if parameters are not consistentpublic EphemerisPvLagrange(SpacecraftState[] tabState, int order, ISearchIndex algo)
tabState
- Spacecraftstate listorder
- lagrange polynome orderalgo
- class to find the nearest date index from a given date in the date table
(If null, algo will be BinarySearchIndexOpenClosed
by default
based on a table of duration since the first date of the dates table)
IllegalArgumentException
- if parameters are not consistentMethod Detail |
---|
public PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws OrekitException
date
- date of interpolationframe
- frame of coordinates expression. (can be null)
OrekitException
- if date of interpolation is too near from min and max input dates
compare to Lagrange orderPVCoordinatesProvider.getPVCoordinates(org.orekit.time.AbsoluteDate,
org.orekit.frames.Frame)
public AbsoluteDate getMinDate()
getMinDate
in class AbstractBoundedPVProvider
public AbsoluteDate getMaxDate()
getMaxDate
in class AbstractBoundedPVProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |