Package org.orekit.frames.encounter
Enum Class EncounterLOFType
- All Implemented Interfaces:
Serializable,Comparable<EncounterLOFType>,Constable
Enum for encounter local orbital frame.
- Since:
- 12.0
- Author:
- Vincent Cucchietti
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract <T extends CalculusFieldElement<T>>
EncounterLOFgetFrame(FieldPVCoordinates<T> other) Get encounter local orbital frame associated to this enum.abstract EncounterLOFgetFrame(PVCoordinates other) Get encounter local orbital frame associated to this enum.static EncounterLOFTypeReturns the enum constant of this class with the specified name.static EncounterLOFType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default encounter local orbital frame based on Figure 1.3 from Romain Serra's thesis.Note that it is up to the user to choose which object should be at the origin.
-
VALSECCHI
Valsecchi encounter local orbital frame based on Valsecchi formulation from : "Valsecchi, G. B., Milani, A., Gronchi, G. F. & Ches- ley, S. R. Resonant returns to close approaches: Analytical theory. Astronomy & Astrophysics 408, 1179–1196 (2003)."Note that it is up to the user to choose which object should be at the origin.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getFrame
Get encounter local orbital frame associated to this enum.- Parameters:
other- other objectposition and velocity coordinatesthat is not the origin of the encounter frame- Returns:
- encounter local orbital frame associated to this enum
-
getFrame
public abstract <T extends CalculusFieldElement<T>> EncounterLOF getFrame(FieldPVCoordinates<T> other) Get encounter local orbital frame associated to this enum.- Type Parameters:
T- type of the field elements- Parameters:
other- other objectposition and velocity coordinatesthat is not the origin of the encounter frame- Returns:
- encounter local orbital frame associated to this enum
-