Enum S2Predicates.Excluded

java.lang.Object
java.lang.Enum<S2Predicates.Excluded>
com.google.common.geometry.S2Predicates.Excluded
All Implemented Interfaces:
Serializable, Comparable<S2Predicates.Excluded>, java.lang.constant.Constable
Enclosing class:
S2Predicates

public static enum S2Predicates.Excluded extends Enum<S2Predicates.Excluded>
Given two sites A and B that form the center of caps of radius 'r', this indicates which sites are irrelevant to the Voronoi diagram relative to an edge PQ.
  • Enum Constant Details

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

    • Excluded

      private Excluded()
  • Method Details

    • values

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