Package com.google.common.geometry
Enum S2EdgeUtil.WedgeRelation
- java.lang.Object
-
- java.lang.Enum<S2EdgeUtil.WedgeRelation>
-
- com.google.common.geometry.S2EdgeUtil.WedgeRelation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<S2EdgeUtil.WedgeRelation>
- Enclosing class:
- S2EdgeUtil
static enum S2EdgeUtil.WedgeRelation extends java.lang.Enum<S2EdgeUtil.WedgeRelation>
Spatial containment relationships between a wedge A to another wedge B.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WEDGE_EQUALS
A and B are equal.WEDGE_IS_DISJOINT
A and B are disjoint.WEDGE_IS_PROPERLY_CONTAINED
A is a strict subset of B.WEDGE_PROPERLY_CONTAINS
A is a strict superset of B.WEDGE_PROPERLY_OVERLAPS
A-B, B-A, and A intersect B are non-empty.
-
Constructor Summary
Constructors Modifier Constructor Description private
WedgeRelation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S2EdgeUtil.WedgeRelation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static S2EdgeUtil.WedgeRelation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEDGE_EQUALS
public static final S2EdgeUtil.WedgeRelation WEDGE_EQUALS
A and B are equal.
-
WEDGE_PROPERLY_CONTAINS
public static final S2EdgeUtil.WedgeRelation WEDGE_PROPERLY_CONTAINS
A is a strict superset of B.
-
WEDGE_IS_PROPERLY_CONTAINED
public static final S2EdgeUtil.WedgeRelation WEDGE_IS_PROPERLY_CONTAINED
A is a strict subset of B.
-
WEDGE_PROPERLY_OVERLAPS
public static final S2EdgeUtil.WedgeRelation WEDGE_PROPERLY_OVERLAPS
A-B, B-A, and A intersect B are non-empty.
-
WEDGE_IS_DISJOINT
public static final S2EdgeUtil.WedgeRelation WEDGE_IS_DISJOINT
A and B are disjoint.
-
-
Method Detail
-
values
public static S2EdgeUtil.WedgeRelation[] 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 (S2EdgeUtil.WedgeRelation c : S2EdgeUtil.WedgeRelation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S2EdgeUtil.WedgeRelation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-