Package com.google.common.geometry
Enum S2Projections.Projections
- java.lang.Object
-
- java.lang.Enum<S2Projections.Projections>
-
- com.google.common.geometry.S2Projections.Projections
-
- All Implemented Interfaces:
Serializable,Comparable<S2Projections.Projections>
- Enclosing class:
- S2Projections
public static enum S2Projections.Projections extends Enum<S2Projections.Projections>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description S2_LINEAR_PROJECTIONS2_QUADRATIC_PROJECTIONS2_TAN_PROJECTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S2Projections.ProjectionsvalueOf(String name)Returns the enum constant of this type with the specified name.static S2Projections.Projections[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S2_LINEAR_PROJECTION
public static final S2Projections.Projections S2_LINEAR_PROJECTION
-
S2_TAN_PROJECTION
public static final S2Projections.Projections S2_TAN_PROJECTION
-
S2_QUADRATIC_PROJECTION
public static final S2Projections.Projections S2_QUADRATIC_PROJECTION
-
-
Method Detail
-
values
public static S2Projections.Projections[] 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 (S2Projections.Projections c : S2Projections.Projections.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S2Projections.Projections 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 nameNullPointerException- if the argument is null
-
-