Class TrajectoryState

  • All Implemented Interfaces:
    TimeStamped

    public class TrajectoryState
    extends Object
    implements TimeStamped
    Trajectory state entry.
    Since:
    11.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • TrajectoryState

        public TrajectoryState​(OrbitElementsType type,
                               AbsoluteDate date,
                               String[] fields,
                               int first,
                               List<Unit> units)
        Simple constructor.
        Parameters:
        type - type of the elements
        date - entry date
        fields - trajectory elements
        first - index of first field to consider when parsing
        units - units to use for parsing
      • TrajectoryState

        public TrajectoryState​(OrbitElementsType type,
                               AbsoluteDate date,
                               double[] elements)
        Simple constructor.
        Parameters:
        type - type of the elements
        date - entry date
        elements - trajectory elements in SI units
        Since:
        12.0
    • Method Detail

      • getElements

        public double[] getElements()
        Get trajectory elements.
        Returns:
        trajectory elements
      • getType

        public OrbitElementsType getType()
        Get the type of the elements.
        Returns:
        type of the elements
      • getAvailableDerivatives

        public CartesianDerivativesFilter getAvailableDerivatives()
        Get which derivatives of position are available in this state.
        Returns:
        a value indicating if the file contains velocity and/or acceleration