org.orekit.propagation.precomputed
Class HermiteEphemeris

java.lang.Object
  extended by org.orekit.propagation.AbstractPropagator
      extended by org.orekit.propagation.precomputed.AbstractEphemeris
          extended by org.orekit.propagation.precomputed.HermiteEphemeris
All Implemented Interfaces:
Serializable, BoundedPropagator, Propagator, PVCoordinatesProvider

Deprecated.

@Deprecated
public class HermiteEphemeris
extends AbstractEphemeris

This class handles tabulated spacecraft states entries (either from a pv coordinates provider and an attitude provider or a spacecraft states array). Tabulated entries are chronologically ordered. Within the interval of validity, interpolation is performed in order to obtain continuous output. A Hermite interpolation is perfomed.

  • A Hermite interpolation is perfomed for PV coordinates
  • A Hermite interpolation is performed for quaternions
  • A linear interpolation is perfomed for additional states Important note : the validity interval of the extrapolated points is the same than the time interval, because the Hermite interpolation requires only 2 points.

    This class is deprecated since 3.1 : use the new class EphemerisPvHermite

    Since:
    2.3
    Version:
    $Id: HermiteEphemeris.java 14118 2015-10-06 09:01:56Z chabaud $
    Author:
    Sophie LAURENS
    See Also:
    Serialized Form
    Concurrency :
    not thread-safe
    Concurrency comment :
    internal mutable attributes

    Field Summary
     
    Fields inherited from class org.orekit.propagation.precomputed.AbstractEphemeris
    areAddStatesSupported, areAttitudesSupported, DEFAULT_INTERPOLATION_ORDER, DEFAULT_PREVIOUS_INDEX, durationFromTab, frame, interpolationInterval, interpOrder, isFirstIntervalInterp, maxDate, minDate, mu, previousIndex, sortingAlgorithm, stateTab
     
    Fields inherited from class org.orekit.propagation.AbstractPropagator
    MASS
     
    Fields inherited from interface org.orekit.propagation.Propagator
    EPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE
     
    Constructor Summary
    HermiteEphemeris(PVCoordinatesProvider pvProv, AttitudeProvider attProvForces, AttitudeProvider attProvEvents, double step, AbsoluteDateInterval intervalOfPoints, Frame frame2, double mu2)
              Deprecated. Constructor n°1 using a PV coordinates provider and an AttitudeProvider to build the interpolation points.
    HermiteEphemeris(SpacecraftState[] tab)
              Deprecated. Constructor of class HermiteEphemeris, used by other constructors of this class.
    HermiteEphemeris(SpacecraftState[] tab, ISearchIndex algo)
              Deprecated. Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor.
    HermiteEphemeris(SpacecraftState[] tabStates, Vector3D[] tabAcc)
              Deprecated. Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor.
    HermiteEphemeris(SpacecraftState[] tab, Vector3D[] tabAcc, ISearchIndex algo)
              Deprecated. Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor.
     
    Method Summary
    protected  SpacecraftState getInterpolatedSpacecraftState(AbsoluteDate date)
              Deprecated. Get the interpolated spacecraft state.
     
    Methods inherited from class org.orekit.propagation.precomputed.AbstractEphemeris
    attitudesInterpolation, basicPropagate, checkBounds, convertTab, generateSpacecraftState, getInitialState, getMaxDate, getMinDate, indexValidity, intervalValidity, propagateOrbit, resetInitialState, setAttitudeProvider, setAttitudeProviderEvents, setAttitudeProviderForces
     
    Methods inherited from class org.orekit.propagation.AbstractPropagator
    acceptStep, addAdditionalStateProvider, addAdditionalStateProvider, addEventDetector, clearEventsDetectors, getAttitudeProvider, getAttitudeProviderEvents, getAttitudeProviderForces, getEventsDetectors, getFrame, getGeneratedEphemeris, getMode, getPVCoordinates, getPvProvider, manageStateFrame, propagate, propagate, setEphemerisMode, setMasterMode, setMasterMode, setOrbitFrame, setSlaveMode, setStartDate
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     
    Methods inherited from interface org.orekit.propagation.Propagator
    addEventDetector, clearEventsDetectors, getAttitudeProvider, getAttitudeProviderEvents, getAttitudeProviderForces, getEventsDetectors, getFrame, getGeneratedEphemeris, getMode, propagate, propagate, setEphemerisMode, setMasterMode, setMasterMode, setOrbitFrame, setSlaveMode
     
    Methods inherited from interface org.orekit.utils.PVCoordinatesProvider
    getPVCoordinates
     

    Constructor Detail

    HermiteEphemeris

    public HermiteEphemeris(PVCoordinatesProvider pvProv,
                            AttitudeProvider attProvForces,
                            AttitudeProvider attProvEvents,
                            double step,
                            AbsoluteDateInterval intervalOfPoints,
                            Frame frame2,
                            double mu2)
                     throws OrekitException
    Deprecated. 
    Constructor n°1 using a PV coordinates provider and an AttitudeProvider to build the interpolation points.

    Parameters:
    pvProv - pv coordinates provider
    attProvForces - attitude provider for forces computation
    attProvEvents - attitude provider for events computation
    step - step between two points
    intervalOfPoints - points generation interval (larger than the extrapolations validity interval)
    frame2 - reference frame
    mu2 - mu
    Throws:
    OrekitException - herited from AbstractEphemeris or if the spacecraft states do not contain the same additional states if default attitude cannot be computed (when attProv is null)

    HermiteEphemeris

    public HermiteEphemeris(SpacecraftState[] tabStates,
                            Vector3D[] tabAcc)
                     throws OrekitException
    Deprecated. 
    Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor. Creates a search index algorithm by default as a BinarySearchIndexOpenClosed.

    Parameters:
    tabStates - : an array of SpacecraftState chronologically sorted. If not, returned result may be wrong (no exception will be thrown).
    tabAcc - array of accelerations, a different polynomial for interpolation is used (degree 5)
    Throws:
    OrekitException - herited from AbstractEphemeris or OrekitMessages.INVALID_ARRAY_LENGTH if tabulatedStates and tabulatedAcc do not have the same length

    HermiteEphemeris

    public HermiteEphemeris(SpacecraftState[] tab)
                     throws OrekitException
    Deprecated. 
    Constructor of class HermiteEphemeris, used by other constructors of this class. Inherit from AbstractEphemeris. Creates a search index algorithm by default as a BinarySearchIndexOpenClosed.

    Parameters:
    tab - : an array of SpacecraftState chronologically sorted. If not, returned result may be wrong (no exception will be thrown).
    Throws:
    OrekitException - OrekitMessages.NOT_ENOUGH_INTERPOLATION_POINTS if the tab is does not contains at least (order) points

    HermiteEphemeris

    public HermiteEphemeris(SpacecraftState[] tab,
                            ISearchIndex algo)
                     throws OrekitException
    Deprecated. 
    Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor.

    Parameters:
    tab - : an array of SpacecraftState chronologically sorted. If not, returned result may be wrong (no exception will be thrown).
    algo - : an instance of a class implementing ISearchIndex. Contains the search index algorithm to use.
    Throws:
    OrekitException - OrekitMessages.NOT_ENOUGH_INTERPOLATION_POINTS if the tab is does not contains at least (order) points

    HermiteEphemeris

    public HermiteEphemeris(SpacecraftState[] tab,
                            Vector3D[] tabAcc,
                            ISearchIndex algo)
                     throws OrekitException
    Deprecated. 
    Constructor of class HermiteEphemeris, where a search index algorithm is passed on the constructor.

    Parameters:
    tab - : an array of SpacecraftState chronologically sorted. If not, returned result may be wrong (no exception will be thrown).
    tabAcc - array of accelerations, a different polynomial for interpolation is used (degree 5)
    algo - : an instance of a class implementing ISearchIndex. Contains the search index algorithm to use.
    Throws:
    OrekitException - OrekitMessages.NOT_ENOUGH_INTERPOLATION_POINTS if the tab is does not contains at least (order) points
    Method Detail

    getInterpolatedSpacecraftState

    protected SpacecraftState getInterpolatedSpacecraftState(AbsoluteDate date)
                                                      throws OrekitException
    Deprecated. 
    Get the interpolated spacecraft state.

    WARNING: when implementing this method. a call to AbstractEphemeris.checkBounds(double) should be performed first to properly handle date on bounds since none of search index convention are able to properly handle both bounds.

    Specified by:
    getInterpolatedSpacecraftState in class AbstractEphemeris
    Parameters:
    date - interpolation date
    Returns:
    interpolated spacecraft state
    Throws:
    OrekitException - thrown if input date is out of the interval validity.


    Copyright © 2016 CNES. All Rights Reserved.