Package com.google.common.geometry
Enum S2Predicates.Excluded
- All Implemented Interfaces:
Serializable
,Comparable<S2Predicates.Excluded>
,java.lang.constant.Constable
- Enclosing class:
S2Predicates
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic S2Predicates.Excluded
Returns the enum constant of this type with the specified name.static S2Predicates.Excluded[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIRST
The first site is excluded, i.e. always further from the edge than the second site. -
SECOND
The second site is excluded, i.e. always further from the edge than the first site. -
NEITHER
Neither site is excluded, i.e. both sites are closer to part of the edge than the other. -
UNCERTAIN
The algorithm could not robustly determine the exclusion, or A is exactly equal to B.
-
-
Constructor Details
-
Excluded
private Excluded()
-
-
Method Details
-
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
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
-