Package org.orekit.orbits
Enum PositionAngle
- java.lang.Object
-
- java.lang.Enum<PositionAngle>
-
- org.orekit.orbits.PositionAngle
-
- All Implemented Interfaces:
Serializable
,Comparable<PositionAngle>
public enum PositionAngle extends Enum<PositionAngle>
Enumerate for true, eccentric and mean position angles.- Author:
- Luc Maisonobe
- See Also:
KeplerianOrbit
,CircularOrbit
,EquinoctialOrbit
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PositionAngle
valueOf(String name)
Returns the enum constant of this type with the specified name.static PositionAngle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN
public static final PositionAngle MEAN
Mean angle.
-
ECCENTRIC
public static final PositionAngle ECCENTRIC
Eccentric angle.
-
TRUE
public static final PositionAngle TRUE
True angle.
-
-
Method Detail
-
values
public static PositionAngle[] 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 (PositionAngle c : PositionAngle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PositionAngle 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
-
-