Class Maneuver

  • All Implemented Interfaces:
    Section

    public class Maneuver
    extends CommentsContainer
    Maneuver in an OPM file.
    Since:
    6.1
    Author:
    sports
    • 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
      • getEpochIgnition

        public AbsoluteDate getEpochIgnition()
        Get epoch ignition.
        Returns:
        epoch ignition
      • setEpochIgnition

        public void setEpochIgnition​(AbsoluteDate epochIgnition)
        Set epoch ignition.
        Parameters:
        epochIgnition - epoch ignition
      • getReferenceFrame

        public FrameFacade getReferenceFrame()
        Get Coordinate system for velocity increment vector.
        Returns:
        coordinate system for velocity increment vector
      • setReferenceFrame

        public void setReferenceFrame​(FrameFacade referenceFrame)
        Set Coordinate system for velocity increment vector.
        Parameters:
        referenceFrame - coordinate system for velocity increment 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)
      • getDeltaMass

        public double getDeltaMass()
        Get mass change during maneuver (value is < 0).
        Returns:
        mass change during maneuver (value is < 0)
      • setDeltaMass

        public void setDeltaMass​(double deltaMass)
        Set mass change during maneuver (value is < 0).
        Parameters:
        deltaMass - mass change during maneuver (value is < 0)
      • getDV

        public Vector3D getDV()
        Get velocity increment.
        Returns:
        velocity increment
      • setDV

        public void setDV​(int i,
                          double dVi)
        Set velocity increment component.
        Parameters:
        i - component index
        dVi - velocity increment component
      • completed

        public boolean completed()
        Check if maneuver has been completed.
        Returns:
        true if maneuver has been completed