|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orekit.utils.AbstractBoundedPVProvider
org.orekit.utils.EphemerisPvHermite
public class EphemerisPvHermite
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 Hermite interpolation in a given position velocity ephemeris.
The interpolation extracts position, velocity and eventually acceleration from the ephemeris depending on the polynome 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 |
---|
polyOrder, tDate, tPVCoord |
Constructor Summary | |
---|---|
EphemerisPvHermite(PVCoordinates[] tabPV,
int order,
Vector3D[] tabAcc,
Frame frame,
AbsoluteDate[] tabDate,
ISearchIndex algo)
Creates an instance of EphemerisPvHermite. |
|
EphemerisPvHermite(PVCoordinates[] tabPV,
Vector3D[] tabAcc,
Frame frame,
AbsoluteDate[] tabDate,
ISearchIndex algo)
Creates an instance of EphemerisPvHermite with default interpolation order = 2. |
|
EphemerisPvHermite(SpacecraftState[] tabState,
int order,
Vector3D[] tabAcc,
ISearchIndex algo)
Creates an instance of EphemerisPvHermite from a SpacecraftState table |
|
EphemerisPvHermite(SpacecraftState[] tabState,
Vector3D[] tabAcc,
ISearchIndex algo)
Creates an instance of EphemerisPvHermite from a SpacecraftState table with default interpolation order = 2. |
Method Summary | |
---|---|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the PVCoordinates of the body in the selected frame. |
Methods inherited from class org.orekit.utils.AbstractBoundedPVProvider |
---|
getDateRef, getFrame, getMaxDate, getMinDate, getPreviousIndex, getSearchIndex, indexValidity, setPreviousIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EphemerisPvHermite(PVCoordinates[] tabPV, int order, Vector3D[] tabAcc, Frame frame, AbsoluteDate[] tabDate, ISearchIndex algo)
tabPV
- position velocity coordinates tableorder
- orderHermite interpolation order. It must be even.tabAcc
- acceleration table (can be null)frame
- 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, by default, a BinarySearchIndexOpenClosed
based on a table of duration since the first date of the dates table)public EphemerisPvHermite(SpacecraftState[] tabState, int order, Vector3D[] tabAcc, ISearchIndex algo)
tabState
- SpacecraftState tableorder
- interpolation order. It must be even.tabAcc
- Acceleration table (can be null)algo
- class to find the nearest date index from a given date
(If null, algo will be BinarySearchIndexOpenClosed
by default
based on a table of duration since the first date of the dates table)
IllegalArgumentException
- spacecraftState table should contains elements,
and if tabacc not null should be of the same sizepublic EphemerisPvHermite(PVCoordinates[] tabPV, Vector3D[] tabAcc, Frame frame, AbsoluteDate[] tabDate, ISearchIndex algo)
tabPV
- position velocity coordinates tabletabAcc
- acceleration table (can be null)frame
- 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, by default, a BinarySearchIndexOpenClosed
based on a table of duration since the first date of the dates table)public EphemerisPvHermite(SpacecraftState[] tabState, Vector3D[] tabAcc, ISearchIndex algo)
tabState
- SpacecraftState tabletabAcc
- Acceleration table (can be null)algo
- class to find the nearest date index from a given date
(If null, algo will be BinarySearchIndexOpenClosed
by default
based on a table of duration since the first date of the dates table)
IllegalArgumentException
- spacecraftState table should contains elements,
and if tabacc not null should be of the same sizeMethod Detail |
---|
public PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws OrekitException
PVCoordinates
of the body in the selected frame.
date
- current dateframe
- the frame where to define the position
OrekitException
- if position cannot be computed in given frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |