uk.ac.ed.computational_geometry.algorithm.marching_cubes
Enum Cube.Vertex
java.lang.Object
java.lang.Enum<Cube.Vertex>
uk.ac.ed.computational_geometry.algorithm.marching_cubes.Cube.Vertex
- All Implemented Interfaces:
- Serializable, Comparable<Cube.Vertex>
- Enclosing class:
- Cube
public static enum Cube.Vertex
- extends Enum<Cube.Vertex>
BOTTOM_BACK_LEFT
public static final Cube.Vertex BOTTOM_BACK_LEFT
BOTTOM_BACK_RIGHT
public static final Cube.Vertex BOTTOM_BACK_RIGHT
BOTTOM_FRONT_RIGHT
public static final Cube.Vertex BOTTOM_FRONT_RIGHT
BOTTOM_FRONT_LEFT
public static final Cube.Vertex BOTTOM_FRONT_LEFT
TOP_BACK_LEFT
public static final Cube.Vertex TOP_BACK_LEFT
TOP_BACK_RIGHT
public static final Cube.Vertex TOP_BACK_RIGHT
TOP_FRONT_RIGHT
public static final Cube.Vertex TOP_FRONT_RIGHT
TOP_FRONT_LEFT
public static final Cube.Vertex TOP_FRONT_LEFT
values
public static final Cube.Vertex[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Cube.Vertex c : Cube.Vertex.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Cube.Vertex 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 name
getVertex
public static Cube.Vertex getVertex(int mask)
getMask
public int getMask()