public enum RasterTerrainGridCellDiagonal extends Enum<RasterTerrainGridCellDiagonal> implements Enumeration
Enum Constant and Description |
---|
NORTHWEST_TO_SOUTHEAST_CORNER
The cell is bisected from the northwest to the southeast corner.
|
SOUTHWEST_TO_NORTHEAST_CORNER
The cell is bisected from the southwest to the northeast corner.
|
Modifier and Type | Method and Description |
---|---|
static RasterTerrainGridCellDiagonal |
getDefault()
Get the enum constant that is considered to be the default.
|
static RasterTerrainGridCellDiagonal |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static RasterTerrainGridCellDiagonal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RasterTerrainGridCellDiagonal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RasterTerrainGridCellDiagonal NORTHWEST_TO_SOUTHEAST_CORNER
public static final RasterTerrainGridCellDiagonal SOUTHWEST_TO_NORTHEAST_CORNER
public static RasterTerrainGridCellDiagonal[] values()
for (RasterTerrainGridCellDiagonal c : RasterTerrainGridCellDiagonal.values()) System.out.println(c);
public static RasterTerrainGridCellDiagonal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static RasterTerrainGridCellDiagonal getFromValue(int value)
value
- a numeric value.@Nonnull public static RasterTerrainGridCellDiagonal getDefault()