Enum S2Predicates.Excluded

    • Enum Constant Detail

      • FIRST

        public static final S2Predicates.Excluded FIRST
        The first site is excluded, i.e. always further from the edge than the second site.
      • SECOND

        public static final S2Predicates.Excluded SECOND
        The second site is excluded, i.e. always further from the edge than the first site.
      • NEITHER

        public static final S2Predicates.Excluded NEITHER
        Neither site is excluded, i.e. both sites are closer to part of the edge than the other.
      • UNCERTAIN

        public static final S2Predicates.Excluded UNCERTAIN
        The algorithm could not robustly determine the exclusion, or A is exactly equal to B.
    • Method Detail

      • values

        public static S2Predicates.Excluded[] 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 (S2Predicates.Excluded c : S2Predicates.Excluded.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static S2Predicates.Excluded 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