Class Maneuver

  • All Implemented Interfaces:
    Section

    public class Maneuver
    extends CommentsContainer
    Maneuver in an APM file.
    Since:
    10.2
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • Maneuver

        public Maneuver()
        Simple constructor.
    • Method Detail

      • validate

        public void validate​(double version)
        Check is all mandatory entries have been initialized.

        This method should throw an exception if some mandatory entries are missing or not compatible with version number.

        Specified by:
        validate in interface Section
        Overrides:
        validate in class CommentsContainer
        Parameters:
        version - format version
      • getEpochStart

        public AbsoluteDate getEpochStart()
        Get epoch start.
        Returns:
        epoch start
      • setEpochStart

        public void setEpochStart​(AbsoluteDate epochStart)
        Set epoch start.
        Parameters:
        epochStart - epoch start
      • getFrame

        public FrameFacade getFrame()
        Get Coordinate system for the torque vector.
        Returns:
        coordinate system for the torque vector
      • setFrame

        public void setFrame​(FrameFacade frame)
        Set Coordinate system for the torque vector.
        Parameters:
        frame - coordinate system for the torque vector
      • getDuration

        public double getDuration()
        Get duration (value is 0 for impulsive maneuver).
        Returns:
        duration (value is 0 for impulsive maneuver)
      • setDuration

        public void setDuration​(double duration)
        Set duration (value is 0 for impulsive maneuver).
        Parameters:
        duration - duration (value is 0 for impulsive maneuver)
      • getTorque

        public Vector3D getTorque()
        Get the torque vector (N.m).
        Returns:
        torque vector
      • setTorque

        public void setTorque​(int index,
                              double value)
        Set the torque vector (N.m).
        Parameters:
        index - vector component index (counting from 0)
        value - component value
      • getDeltaMass

        public double getDeltaMass()
        Get mass change during maneuver.
        Returns:
        mass change during maneuver (kg, negative)
        Since:
        12.0
      • setDeltaMass

        public void setDeltaMass​(double deltaMass)
        Set mass change during maneuver.
        Parameters:
        deltaMass - mass change during maneuver (kg)
        Since:
        12.0