Class TabulatedProvider

    • Constructor Detail

      • TabulatedProvider

        public TabulatedProvider​(Frame referenceFrame,
                                 List<TimeStampedAngularCoordinates> table,
                                 int n,
                                 AngularDerivativesFilter filter)
        Creates new instance.
        Parameters:
        referenceFrame - reference frame for tabulated attitudes
        table - tabulated attitudes
        n - number of attitude to use for interpolation
        filter - filter for derivatives from the sample to use in interpolation
    • Method Detail

      • 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 org.hipparchus.RealFieldElement<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