Package org.orekit.orbits
Enum LibrationOrbitFamily
- java.lang.Object
-
- java.lang.Enum<LibrationOrbitFamily>
-
- org.orekit.orbits.LibrationOrbitFamily
-
- All Implemented Interfaces:
Serializable
,Comparable<LibrationOrbitFamily>
public enum LibrationOrbitFamily extends Enum<LibrationOrbitFamily>
Enumerate forLibration Orbit
family.The Northern and Southern families of Libration orbits are related to through symmetry.
- Since:
- 10.2
- Author:
- Vincent Mouraux
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LibrationOrbitFamily
valueOf(String name)
Returns the enum constant of this type with the specified name.static LibrationOrbitFamily[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTHERN
public static final LibrationOrbitFamily NORTHERN
Northern.
-
SOUTHERN
public static final LibrationOrbitFamily SOUTHERN
Southern.
-
-
Method Detail
-
values
public static LibrationOrbitFamily[] 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 (LibrationOrbitFamily c : LibrationOrbitFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LibrationOrbitFamily 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
-
-