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.
|
CelestialBody |
getCelestialBody(CelestialBodies celestialBodies)
Get the celestial body corresponding to the CCSDS constant.
|
static String |
guessCenter(Frame frame)
Guess the name of the center of the reference frame.
|
static CenterName |
map(Frame frame)
Map an Orekit frame to a CCSDS center.
|
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 CelestialBody getCelestialBody(CelestialBodies celestialBodies)
celestialBodies
- the set of celestial bodies to use.public static String guessCenter(Frame frame)
frame
- a reference frame for ephemeris output.frame
.public static CenterName map(Frame frame)
frame
- a reference frame.frame
,
or null if no such center can be foundCopyright © 2002-2022 CS GROUP. All rights reserved.