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 |
---|---|
CelestialBody |
getCelestialBody()
Get the celestial body corresponding to the CCSDS constant.
|
abstract CelestialBody |
getCelestialBody(CelestialBodies celestialBodies)
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 null@DefaultDataContext public CelestialBody getCelestialBody()
This method uses the default data context
.
getCelestialBody(CelestialBodies)
public abstract CelestialBody getCelestialBody(CelestialBodies celestialBodies)
celestialBodies
- the set of celestial bodies to use.Copyright © 2002-2020 CS Group. All rights reserved.