Class LofOffsetPointing

  • All Implemented Interfaces:
    Serializable, AttitudeProvider

    public class LofOffsetPointing
    extends GroundPointing
    This class provides a default attitude provider.

    The attitude pointing law is defined by an attitude provider and the satellite axis vector chosen for pointing.

    Author:
    Véronique Pommier-Maurussane
    See Also:
    Serialized Form
    • Constructor Detail

      • LofOffsetPointing

        public LofOffsetPointing​(Frame inertialFrame,
                                 BodyShape shape,
                                 AttitudeProvider attLaw,
                                 org.hipparchus.geometry.euclidean.threed.Vector3D satPointingVector)
        Creates new instance.
        Parameters:
        inertialFrame - frame in which orbital velocities are computed
        shape - Body shape
        attLaw - Attitude law
        satPointingVector - satellite vector defining the pointing direction
        Since:
        7.1
    • 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
        Overrides:
        getAttitude in class GroundPointing
        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
        Overrides:
        getAttitude in class GroundPointing
        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
      • getTargetPV

        public TimeStampedPVCoordinates getTargetPV​(PVCoordinatesProvider pvProv,
                                                    AbsoluteDate date,
                                                    Frame frame)
        Compute the target point position/velocity in specified frame.

        This method is public only to allow users to subclass this abstract class from other packages. It is not intended to be used directly.

        Specified by:
        getTargetPV in class GroundPointing
        Parameters:
        pvProv - provider for PV coordinates
        date - date at which target point is requested
        frame - frame in which observed ground point should be provided
        Returns:
        observed ground point position (element 0) and velocity (at index 1) in specified frame
      • getTargetPV

        public <T extends org.hipparchus.RealFieldElement<T>> TimeStampedFieldPVCoordinates<T> getTargetPV​(FieldPVCoordinatesProvider<T> pvProv,
                                                                                                           FieldAbsoluteDate<T> date,
                                                                                                           Frame frame)
        Compute the target point position/velocity in specified frame.
        Specified by:
        getTargetPV in class GroundPointing
        Type Parameters:
        T - type of the fiels elements
        Parameters:
        pvProv - provider for PV coordinates
        date - date at which target point is requested
        frame - frame in which observed ground point should be provided
        Returns:
        observed ground point position (element 0) and velocity (at index 1) in specified frame