Package org.orekit.files.ccsds
Enum CenterName
- java.lang.Object
-
- java.lang.Enum<CenterName>
-
- org.orekit.files.ccsds.CenterName
-
- All Implemented Interfaces:
Serializable
,Comparable<CenterName>
public enum CenterName extends Enum<CenterName>
Orbit central bodies for which a Celestial body can be created.- Since:
- 6.1
- Author:
- sports
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EARTH
Earth body.EARTH_MOON
Earth-Moon barycenter bodies pair.JUPITER
Jupiter body.MARS
Mars body.MERCURY
Mercury body.MOON
Moon body.NEPTUNE
Neptune body.PLUTO
Pluto body.SATURN
Saturn body.SOLAR_SYSTEM_BARYCENTER
Solar system barycenter aggregated body.SUN
Sun body.URANUS
Uranus body.VENUS
Venus body.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CelestialBody
getCelestialBody()
Get the celestial body corresponding to the CCSDS constant.static CenterName
valueOf(String name)
Returns the enum constant of this type with the specified name.static CenterName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- 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
-
-