Enum ITRFVersion

    • Enum Constant Detail

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

        public static final ITRFVersion ITRF_97
        Constant for ITRF 97.
      • ITRF_96

        public static final ITRFVersion ITRF_96
        Constant for ITRF 96.
      • ITRF_94

        public static final ITRFVersion ITRF_94
        Constant for ITRF 94.
      • ITRF_93

        public static final ITRFVersion ITRF_93
        Constant for ITRF 93.
      • ITRF_92

        public static final ITRFVersion ITRF_92
        Constant for ITRF 92.
      • ITRF_91

        public static final ITRFVersion ITRF_91
        Constant for ITRF 91.
      • ITRF_90

        public static final ITRFVersion ITRF_90
        Constant for ITRF 90.
      • ITRF_89

        public static final ITRFVersion ITRF_89
        Constant for ITRF 89.
      • ITRF_88

        public static final ITRFVersion ITRF_88
        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 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
      • getConverter

        public static ITRFVersion.Converter getConverter​(ITRFVersion origin,
                                                         ITRFVersion destination)
        Find a converter between specified ITRF frames.
        Parameters:
        origin - origin ITRF
        destination - destination ITRF
        Returns:
        transform from origin to destination