Package org.orekit.frames
Enum ITRFVersion
- java.lang.Object
-
- java.lang.Enum<ITRFVersion>
-
- org.orekit.frames.ITRFVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<ITRFVersion>
public enum ITRFVersion extends Enum<ITRFVersion>
Enumerate for ITRF versions.- Since:
- 9.2
- Author:
- Luc Maisonobe
- See Also:
EOPEntry
,HelmertTransformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ITRFVersion.Converter
Specialized transform provider between ITRF frames.
-
Enum Constant Summary
Enum Constants Enum Constant Description ITRF_1988
Constant for ITRF 88.ITRF_1989
Constant for ITRF 89.ITRF_1990
Constant for ITRF 1990.ITRF_1991
Constant for ITRF 1991.ITRF_1992
Constant for ITRF 1992.ITRF_1993
Constant for ITRF 1993.ITRF_1994
Constant for ITRF 1994.ITRF_1996
Constant for ITRF 1996.ITRF_1997
Constant for ITRF 1997.ITRF_2000
Constant for ITRF 2000.ITRF_2005
Constant for ITRF 2005.ITRF_2008
Constant for ITRF 2008.ITRF_2014
Constant for ITRF 2014.ITRF_2020
Constant for ITRF 2020.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ITRFVersion.Converter
getConverter(ITRFVersion origin, ITRFVersion destination)
Find a converter between specified ITRF frames.static ITRFVersion.Converter
getConverter(ITRFVersion origin, ITRFVersion destination, TimeScale tt)
Find a converter between specified ITRF frames.static ITRFVersion
getITRFVersion(int year)
Find an ITRF version from its reference year.static ITRFVersion
getITRFVersion(String name)
Find an ITRF version from its name.static ITRFVersion
getLast()
Get last supported ITRF version.String
getName()
Get the name the frame version.int
getYear()
Get the reference year of the frame version.static ITRFVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static ITRFVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITRF_2020
public static final ITRFVersion ITRF_2020
Constant for ITRF 2020.
-
ITRF_2014
public static final ITRFVersion ITRF_2014
Constant for ITRF 2014.
-
ITRF_2008
public static final ITRFVersion ITRF_2008
Constant for ITRF 2008.
-
ITRF_2005
public static final ITRFVersion ITRF_2005
Constant for ITRF 2005.
-
ITRF_2000
public static final ITRFVersion ITRF_2000
Constant for ITRF 2000.
-
ITRF_1997
public static final ITRFVersion ITRF_1997
Constant for ITRF 1997.
-
ITRF_1996
public static final ITRFVersion ITRF_1996
Constant for ITRF 1996.
-
ITRF_1994
public static final ITRFVersion ITRF_1994
Constant for ITRF 1994.
-
ITRF_1993
public static final ITRFVersion ITRF_1993
Constant for ITRF 1993.
-
ITRF_1992
public static final ITRFVersion ITRF_1992
Constant for ITRF 1992.
-
ITRF_1991
public static final ITRFVersion ITRF_1991
Constant for ITRF 1991.
-
ITRF_1990
public static final ITRFVersion ITRF_1990
Constant for ITRF 1990.
-
ITRF_1989
public static final ITRFVersion ITRF_1989
Constant for ITRF 89.
-
ITRF_1988
public static final ITRFVersion ITRF_1988
Constant for ITRF 88.
-
-
Method Detail
-
values
public static ITRFVersion[] 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 (ITRFVersion c : ITRFVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ITRFVersion 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
-
getYear
public int getYear()
Get the reference year of the frame version.- Returns:
- reference year of the frame version
-
getName
public String getName()
Get the name the frame version.- Returns:
- name of the frame version
-
getITRFVersion
public static ITRFVersion getITRFVersion(int year)
Find an ITRF version from its reference year.- Parameters:
year
- reference year of the frame version- Returns:
- ITRF version for specified year
-
getITRFVersion
public static ITRFVersion getITRFVersion(String name)
Find an ITRF version from its name.- Parameters:
name
- name of the frame version (case is ignored)- Returns:
- ITRF version
-
getLast
public static ITRFVersion 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
origin
todestination
- See Also:
getConverter(ITRFVersion, ITRFVersion, TimeScale)
-
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
origin
todestination
- Since:
- 10.1
-
-