Enum Class ITRFVersion

java.lang.Object
java.lang.Enum<ITRFVersion>
org.orekit.frames.ITRFVersion
All Implemented Interfaces:
Serializable, Comparable<ITRFVersion>, Constable

public enum ITRFVersion extends Enum<ITRFVersion>
Enumerate for ITRF versions.
Since:
9.2
Author:
Luc Maisonobe
See Also:
  • Enum Constant Details

    • 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 Details

    • values

      public static ITRFVersion[] 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

      public static ITRFVersion valueOf(String name)
      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 name
      NullPointerException - 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 ITRF
      destination - destination ITRF
      Returns:
      transform from origin to destination
      See Also:
    • getConverter

      public static ITRFVersion.Converter getConverter(ITRFVersion origin, ITRFVersion destination, TimeScale tt)
      Find a converter between specified ITRF frames.
      Parameters:
      origin - origin ITRF
      destination - destination ITRF
      tt - TT time scale.
      Returns:
      transform from origin to destination
      Since:
      10.1