Enum Class CenterName
- All Implemented Interfaces:
Serializable,Comparable<CenterName>,Constable
Orbit central bodies for which a Celestial body can be created.
- Since:
- 6.1
- Author:
- sports
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEarth body.Earth-Moon barycenter bodies pair.Jupiter body.Mars body.Mercury body.Moon body.Neptune body.Pluto body.Saturn body.Solar system barycenter aggregated body.Sun body.Uranus body.Venus body. -
Method Summary
Modifier and TypeMethodDescriptionGet the celestial body corresponding to the CCSDS constant.getCelestialBody(CelestialBodies celestialBodies) Get the celestial body corresponding to the CCSDS constant.static StringguessCenter(Frame frame) Guess the name of the center of the reference frame.static CenterNameMap an Orekit frame to a CCSDS center.static CenterNameReturns the enum constant of this class with the specified name.static CenterName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLAR_SYSTEM_BARYCENTER
Solar system barycenter aggregated body. -
SUN
Sun body. -
MERCURY
Mercury body. -
VENUS
Venus body. -
EARTH_MOON
Earth-Moon barycenter bodies pair. -
EARTH
Earth body. -
MOON
Moon body. -
MARS
Mars body. -
JUPITER
Jupiter body. -
SATURN
Saturn body. -
URANUS
Uranus body. -
NEPTUNE
Neptune body. -
PLUTO
Pluto body.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCelestialBody
Get the celestial body corresponding to the CCSDS constant.This method uses the
default data context.- Returns:
- celestial body corresponding to the CCSDS constant
- See Also:
-
getCelestialBody
Get the celestial body corresponding to the CCSDS constant.- Parameters:
celestialBodies- the set of celestial bodies to use.- Returns:
- celestial body corresponding to the CCSDS constant
- Since:
- 10.1
-
guessCenter
Guess the name of the center of the reference frame.- Parameters:
frame- a reference frame for ephemeris output.- Returns:
- the string to use in the OEM file to describe the origin of
frame.
-
map
Map an Orekit frame to a CCSDS center.- Parameters:
frame- a reference frame.- Returns:
- the string to use in the OEM file to describe the origin of
frame, or null if no such center can be found
-