Enum CenterName

    • Enum Constant Detail

      • SOLAR_SYSTEM_BARYCENTER

        public static final CenterName SOLAR_SYSTEM_BARYCENTER
        Solar system barycenter aggregated body.
      • SUN

        public static final CenterName SUN
        Sun body.
      • MERCURY

        public static final CenterName MERCURY
        Mercury body.
      • VENUS

        public static final CenterName VENUS
        Venus body.
      • EARTH_MOON

        public static final CenterName EARTH_MOON
        Earth-Moon barycenter bodies pair.
      • EARTH

        public static final CenterName EARTH
        Earth body.
      • MOON

        public static final CenterName MOON
        Moon body.
      • MARS

        public static final CenterName MARS
        Mars body.
      • JUPITER

        public static final CenterName JUPITER
        Jupiter body.
      • SATURN

        public static final CenterName SATURN
        Saturn body.
      • URANUS

        public static final CenterName URANUS
        Uranus body.
      • NEPTUNE

        public static final CenterName NEPTUNE
        Neptune body.
      • PLUTO

        public static final CenterName PLUTO
        Pluto body.
    • Method Detail

      • values

        public static CenterName[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CenterName c : CenterName.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CenterName valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCelestialBody

        public abstract CelestialBody getCelestialBody()
        Get the celestial body corresponding to the CCSDS constant.
        Returns:
        celestial body corresponding to the CCSDS constant