public static enum DistanceGrid.TetID extends java.lang.Enum<DistanceGrid.TetID>
Enum Constant and Description |
---|
TET0126 |
TET0236 |
TET0376 |
TET0456 |
TET0516 |
TET0746 |
Modifier and Type | Method and Description |
---|---|
static DistanceGrid.TetID |
fromInt(int num) |
int[] |
getMiddleNodeOffsets() |
int[] |
getNodes() |
int |
intValue() |
static DistanceGrid.TetID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceGrid.TetID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceGrid.TetID TET0516
public static final DistanceGrid.TetID TET0456
public static final DistanceGrid.TetID TET0746
public static final DistanceGrid.TetID TET0126
public static final DistanceGrid.TetID TET0236
public static final DistanceGrid.TetID TET0376
public static DistanceGrid.TetID[] values()
for (DistanceGrid.TetID c : DistanceGrid.TetID.values()) System.out.println(c);
public static DistanceGrid.TetID valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int intValue()
public static DistanceGrid.TetID fromInt(int num)
public int[] getNodes()
public int[] getMiddleNodeOffsets()