Class SpacecraftParameters

  • All Implemented Interfaces:
    Section

    public class SpacecraftParameters
    extends CommentsContainer
    Container for spacecraft parameters data.
    Since:
    10.2
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • SpacecraftParameters

        public SpacecraftParameters()
        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
      • getInertiaReferenceFrame

        public FrameFacade getInertiaReferenceFrame()
        Get the coordinate system for the inertia tensor.
        Returns:
        the coordinate system for the inertia tensor
      • setInertiaReferenceFrame

        public void setInertiaReferenceFrame​(FrameFacade inertiaReferenceFrame)
        Set the coordinate system for the inertia tensor.
        Parameters:
        inertiaReferenceFrame - frame to be set
      • getI11

        public double getI11()
        Get the moment of Inertia about the 1-axis (N.m²).
        Returns:
        the moment of Inertia about the 1-axis.
      • setI11

        public void setI11​(double i11)
        Set the moment of Inertia about the 1-axis (N.m²).
        Parameters:
        i11 - moment of Inertia about the 1-axis
      • getI22

        public double getI22()
        Get the moment of Inertia about the 2-axis (N.m²).
        Returns:
        the moment of Inertia about the 2-axis.
      • setI22

        public void setI22​(double i22)
        Set the moment of Inertia about the 2-axis (N.m²).
        Parameters:
        i22 - moment of Inertia about the 2-axis
      • getI33

        public double getI33()
        Get the moment of Inertia about the 3-axis (N.m²).
        Returns:
        the moment of Inertia about the 3-axis.
      • setI33

        public void setI33​(double i33)
        Set the moment of Inertia about the 3-axis (N.m²).
        Parameters:
        i33 - moment of Inertia about the 3-axis
      • getI12

        public double getI12()
        Get the moment of Inertia about the 1 and 2 axes (N.m²).
        Returns:
        the moment of Inertia about the 1 and 2 axes.
      • setI12

        public void setI12​(double i12)
        Set the moment of Inertia about the 1 and 2 axes (N.m²).
        Parameters:
        i12 - moment of Inertia about the 1 and 2 axes
      • getI13

        public double getI13()
        Get the moment of Inertia about the 1 and 3 axes (N.m²).
        Returns:
        the moment of Inertia about the 1 and 3 axes.
      • setI13

        public void setI13​(double i13)
        Set the moment of Inertia about the 1 and 3 axes (N.m²).
        Parameters:
        i13 - moment of Inertia about the 1 and 3 axes
      • getI23

        public double getI23()
        Get the moment of Inertia about the 2 and 3 axes (N.m²).
        Returns:
        the moment of Inertia about the 2 and 3 axes.
      • setI23

        public void setI23​(double i23)
        Set the moment of Inertia about the 2 and 3 axes (N.m²).
        Parameters:
        i23 - moment of Inertia about the 2 and 3 axes