public enum CenterName extends Enum<CenterName>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final CenterName SOLAR_SYSTEM_BARYCENTER
public static final CenterName SUN
public static final CenterName MERCURY
public static final CenterName VENUS
public static final CenterName EARTH_MOON
public static final CenterName EARTH
public static final CenterName MOON
public static final CenterName MARS
public static final CenterName JUPITER
public static final CenterName SATURN
public static final CenterName URANUS
public static final CenterName NEPTUNE
public static final CenterName PLUTO
public static CenterName[] values()
for (CenterName c : CenterName.values()) System.out.println(c);
public static CenterName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract CelestialBody getCelestialBody() throws OrekitException
OrekitException
- if the Celestial body cannot be retrievedCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.