Package org.orekit.frames
Enum Class ITRFVersion
- All Implemented Interfaces:
Serializable,Comparable<ITRFVersion>,Constable
Enumerate for ITRF versions.
- Since:
- 9.2
- Author:
- Luc Maisonobe
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSpecialized transform provider between ITRF frames.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstant for ITRF 88.Constant for ITRF 89.Constant for ITRF 1990.Constant for ITRF 1991.Constant for ITRF 1992.Constant for ITRF 1993.Constant for ITRF 1994.Constant for ITRF 1996.Constant for ITRF 1997.Constant for ITRF 2000.Constant for ITRF 2005.Constant for ITRF 2008.Constant for ITRF 2014.Constant for ITRF 2020. -
Method Summary
Modifier and TypeMethodDescriptionstatic ITRFVersion.ConvertergetConverter(ITRFVersion origin, ITRFVersion destination) Find a converter between specified ITRF frames.static ITRFVersion.ConvertergetConverter(ITRFVersion origin, ITRFVersion destination, TimeScale tt) Find a converter between specified ITRF frames.static ITRFVersiongetITRFVersion(int year) Find an ITRF version from its reference year.static ITRFVersiongetITRFVersion(String name) Find an ITRF version from its name.static ITRFVersiongetLast()Get last supported ITRF version.getName()Get the name the frame version.intgetYear()Get the reference year of the frame version.static ITRFVersionReturns the enum constant of this class with the specified name.static ITRFVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITRF_2020
Constant for ITRF 2020. -
ITRF_2014
Constant for ITRF 2014. -
ITRF_2008
Constant for ITRF 2008. -
ITRF_2005
Constant for ITRF 2005. -
ITRF_2000
Constant for ITRF 2000. -
ITRF_1997
Constant for ITRF 1997. -
ITRF_1996
Constant for ITRF 1996. -
ITRF_1994
Constant for ITRF 1994. -
ITRF_1993
Constant for ITRF 1993. -
ITRF_1992
Constant for ITRF 1992. -
ITRF_1991
Constant for ITRF 1991. -
ITRF_1990
Constant for ITRF 1990. -
ITRF_1989
Constant for ITRF 89. -
ITRF_1988
Constant for ITRF 88.
-
-
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
-
getYear
public int getYear()Get the reference year of the frame version.- Returns:
- reference year of the frame version
-
getName
Get the name the frame version.- Returns:
- name of the frame version
-
getITRFVersion
Find an ITRF version from its reference year.- Parameters:
year- reference year of the frame version- Returns:
- ITRF version for specified year
-
getITRFVersion
Find an ITRF version from its name.- Parameters:
name- name of the frame version (case is ignored)- Returns:
- ITRF version
-
getLast
Get last supported ITRF version.- Returns:
- last supported ITRF version
- Since:
- 11.2
-
getConverter
@DefaultDataContext public static ITRFVersion.Converter getConverter(ITRFVersion origin, ITRFVersion destination) Find a converter between specified ITRF frames.This method uses the
default data context.- Parameters:
origin- origin ITRFdestination- destination ITRF- Returns:
- transform from
origintodestination - See Also:
-
getConverter
public static ITRFVersion.Converter getConverter(ITRFVersion origin, ITRFVersion destination, TimeScale tt) Find a converter between specified ITRF frames.- Parameters:
origin- origin ITRFdestination- destination ITRFtt- TT time scale.- Returns:
- transform from
origintodestination - Since:
- 10.1
-