Class SpacecraftParameters

  • All Implemented Interfaces:
    Data, Section

    public class SpacecraftParameters
    extends CommentsContainer
    implements Data
    Container for spacecraft parameters.
    Since:
    6.1
    Author:
    sports
    • Constructor Detail

      • SpacecraftParameters

        public SpacecraftParameters()
        Create an empty state data set.
    • 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
      • getMass

        public double getMass()
        Get the spacecraft mass.
        Returns:
        the spacecraft mass
      • setMass

        public void setMass​(double mass)
        Set the spacecraft mass.
        Parameters:
        mass - the spacecraft mass to be set
      • getSolarRadArea

        public double getSolarRadArea()
        Get the solar radiation pressure area.
        Returns:
        the solar radiation pressure area
      • setSolarRadArea

        public void setSolarRadArea​(double solarRadArea)
        Set the solar radiation pressure area.
        Parameters:
        solarRadArea - the area to be set
      • getSolarRadCoeff

        public double getSolarRadCoeff()
        Get the solar radiation pressure coefficient.
        Returns:
        the solar radiation pressure coefficient
      • setSolarRadCoeff

        public void setSolarRadCoeff​(double solarRadCoeff)
        Get the solar radiation pressure coefficient.
        Parameters:
        solarRadCoeff - the coefficient to be set
      • getDragArea

        public double getDragArea()
        Get the drag area.
        Returns:
        the drag area
      • setDragArea

        public void setDragArea​(double dragArea)
        Set the drag area.
        Parameters:
        dragArea - the area to be set
      • getDragCoeff

        public double getDragCoeff()
        Get the drag coefficient.
        Returns:
        the drag coefficient
      • setDragCoeff

        public void setDragCoeff​(double dragCoeff)
        Set the drag coefficient.
        Parameters:
        dragCoeff - the coefficient to be set