Class TabulatedLofOffset

    • Constructor Detail

      • TabulatedLofOffset

        public TabulatedLofOffset​(Frame inertialFrame,
                                  LOFType type,
                                  List<? extends TimeStampedAngularCoordinates> table,
                                  int n,
                                  AngularDerivativesFilter filter)
        Creates new instance.

        This constructor uses the first and last point samples as the min and max dates.

        Parameters:
        inertialFrame - inertial frame with respect to which orbit should be computed
        type - type of Local Orbital Frame
        table - tabulated attitudes
        n - number of attitude to use for interpolation
        filter - filter for derivatives from the sample to use in interpolation
      • TabulatedLofOffset

        public TabulatedLofOffset​(Frame inertialFrame,
                                  LOFType type,
                                  List<? extends TimeStampedAngularCoordinates> table,
                                  int n,
                                  AngularDerivativesFilter filter,
                                  AbsoluteDate minDate,
                                  AbsoluteDate maxDate)
        Creates new instance.
        Parameters:
        inertialFrame - inertial frame with respect to which orbit should be computed
        type - type of Local Orbital Frame
        table - tabulated attitudes
        n - number of attitude to use for interpolation
        minDate - min date to use
        maxDate - max date to use
        filter - filter for derivatives from the sample to use in interpolation
        Since:
        11.0
    • Method Detail

      • getTable

        public List<? extends TimeStampedAngularCoordinates> getTable()
        Get an unmodifiable view of the tabulated attitudes.
        Returns:
        unmodifiable view of the tabulated attitudes
      • getAttitude

        public Attitude getAttitude​(PVCoordinatesProvider pvProv,
                                    AbsoluteDate date,
                                    Frame frame)
        Compute the attitude corresponding to an orbital state.
        Specified by:
        getAttitude in interface AttitudeProvider
        Parameters:
        pvProv - local position-velocity provider around current date
        date - current date
        frame - reference frame from which attitude is computed
        Returns:
        attitude attitude on the specified date and position-velocity state
      • getAttitude

        public <T extends CalculusFieldElement<T>> FieldAttitude<T> getAttitude​(FieldPVCoordinatesProvider<T> pvProv,
                                                                                FieldAbsoluteDate<T> date,
                                                                                Frame frame)
        Compute the attitude corresponding to an orbital state.
        Specified by:
        getAttitude in interface AttitudeProvider
        Type Parameters:
        T - type of the field elements
        Parameters:
        pvProv - local position-velocity provider around current date
        date - current date
        frame - reference frame from which attitude is computed
        Returns:
        attitude attitude on the specified date and position-velocity state