uk.ac.ed.computational_geometry.algorithm.marching_cubes
Enum Cube.Vertex

java.lang.Object
  extended by java.lang.Enum<Cube.Vertex>
      extended by 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>


Enum Constant Summary
BOTTOM_BACK_LEFT
           
BOTTOM_BACK_RIGHT
           
BOTTOM_FRONT_LEFT
           
BOTTOM_FRONT_RIGHT
           
TOP_BACK_LEFT
           
TOP_BACK_RIGHT
           
TOP_FRONT_LEFT
           
TOP_FRONT_RIGHT
           
 
Method Summary
 int getMask()
           
static Cube.Vertex getVertex(int mask)
           
static Cube.Vertex valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Cube.Vertex[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()