uk.ac.ed.computational_geometry.algorithm.marching_cubes
Enum Cube.Edge
java.lang.Object
java.lang.Enum<Cube.Edge>
uk.ac.ed.computational_geometry.algorithm.marching_cubes.Cube.Edge
- All Implemented Interfaces:
- Serializable, Comparable<Cube.Edge>
- Enclosing class:
- Cube
public static enum Cube.Edge
- extends Enum<Cube.Edge>
BOTTOM_BACK
public static final Cube.Edge BOTTOM_BACK
BOTTOM_RIGHT
public static final Cube.Edge BOTTOM_RIGHT
BOTTOM_FRONT
public static final Cube.Edge BOTTOM_FRONT
BOTTOM_LEFT
public static final Cube.Edge BOTTOM_LEFT
TOP_BACK
public static final Cube.Edge TOP_BACK
TOP_RIGHT
public static final Cube.Edge TOP_RIGHT
TOP_FRONT
public static final Cube.Edge TOP_FRONT
TOP_LEFT
public static final Cube.Edge TOP_LEFT
BACK_LEFT
public static final Cube.Edge BACK_LEFT
BACK_RIGHT
public static final Cube.Edge BACK_RIGHT
FRONT_RIGHT
public static final Cube.Edge FRONT_RIGHT
FRONT_LEFT
public static final Cube.Edge FRONT_LEFT
values
public static final Cube.Edge[] 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.Edge c : Cube.Edge.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.Edge 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
getEdge
public static Cube.Edge getEdge(int mask)
getMask
public int getMask()
containsVertex
public boolean containsVertex(Cube.Vertex vertex)
getVertexes
public Cube.Vertex[] getVertexes()
getNumberOfVertexes
public int getNumberOfVertexes()