Class TutorialBody


  • public class TutorialBody
    extends Object
    Initial data for the central body.

    Data are read from a YAML file.

    Author:
    Bryan Cazabonne
    • Constructor Detail

      • TutorialBody

        public TutorialBody()
    • Method Detail

      • getIersConventionYear

        public int getIersConventionYear()
        Get the year of the IERS Convention (1996, 2003 or 2010).
        Returns:
        the year of the IERS Convention
      • setIersConventionYear

        public void setIersConventionYear​(int iersConventionYear)
        Set the year of the IERS Convention (1996, 2003 or 2010).
        Parameters:
        iersConventionYear - year of the IERS Convention
      • getFrameName

        public String getFrameName()
        Get the name of the body frame related to body shape.
        Returns:
        the name of the body frame related to body shape.
      • setFrameName

        public void setFrameName​(String frameName)
        Set the name of the body frame related to body shape.
        Parameters:
        frameName - name of the body frame related to body shape.
      • getEquatorialRadius

        public double getEquatorialRadius()
        Get the equatorial radius of the body.
        Returns:
        the equatorial radius of the body (m)
      • setEquatorialRadius

        public void setEquatorialRadius​(double equatorialRadius)
        Set the equatorial radius of the body.
        Parameters:
        equatorialRadius - equatorial radius of the body (m)
      • getInverseFlattening

        public double getInverseFlattening()
        Get the inverse flattening of the body.
        Returns:
        the inverse flattening of the body
      • setInverseFlattening

        public void setInverseFlattening​(double inverseFlattening)
        Set the inverse flattening of the body.
        Parameters:
        inverseFlattening - inverse flattening of the body
      • getEarthFrame

        public org.orekit.frames.Frame getEarthFrame()
        Get the Earth frame.

        We consider Earth frames are the frames with name starting with "ITRF".

        Returns:
        the Earth frame