|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.utils.AbstractBoundedPVProvider
public abstract class AbstractBoundedPVProvider
This abstract class shall be extended to provides a PVCoordinates provider based on manipulation of
PVCoordinates ephemeris.
The method of the implemented interface PVCoordinatesProvider
is not implemented here and have to be implemented in extending classes to provide
a position velocity for a given date.
| Field Summary | |
|---|---|
protected AbsoluteDate[] |
tDate
Dates table |
protected PVCoordinates[] |
tPVCoord
Position velocity coordinates table |
| Constructor Summary | |
|---|---|
AbstractBoundedPVProvider(PVCoordinates[] tabPV,
Frame frame,
AbsoluteDate[] tabDate,
ISearchIndex algo)
Instantiation of AbstractBoundedPVProvider attributes. |
|
AbstractBoundedPVProvider(SpacecraftState[] tabState,
ISearchIndex algo)
Creates an instance of AbstractBoundedPVProvider from a SpacecraftState table |
|
| Method Summary | |
|---|---|
AbsoluteDate |
getDateRef()
Get the reference date |
Frame |
getFrame()
Get the reference frame |
abstract AbsoluteDate |
getMaxDate()
Get the last date of the range. |
abstract AbsoluteDate |
getMinDate()
Get the first date of the range. |
int |
getPreviousIndex()
Get the previous search index |
ISearchIndex |
getSearchIndex()
Get the optimize indice search algorithm |
protected void |
setPreviousIndex(int index)
Set the previous search index |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.orekit.utils.PVCoordinatesProvider |
|---|
getPVCoordinates |
| Field Detail |
|---|
protected final PVCoordinates[] tPVCoord
protected final AbsoluteDate[] tDate
| Constructor Detail |
|---|
public AbstractBoundedPVProvider(PVCoordinates[] tabPV,
Frame frame,
AbsoluteDate[] tabDate,
ISearchIndex algo)
tabPV - position velocity coordinates table
(table is not copied and so internal class state can be modified from outside)frame - coordinates expression frametabDate - table of dates for each position velocity
(table is not copied and so internal class state can be modified from outside)algo - 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 AbstractBoundedPVProvider(SpacecraftState[] tabState,
ISearchIndex algo)
tabState - SpacecraftState tablealgo - 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 size| Method Detail |
|---|
public AbsoluteDate getDateRef()
public Frame getFrame()
public ISearchIndex getSearchIndex()
public int getPreviousIndex()
protected void setPreviousIndex(int index)
index - previous search indexpublic abstract AbsoluteDate getMinDate()
public abstract AbsoluteDate getMaxDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||