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

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


Enum Constant Summary
BACK_LEFT
           
BACK_RIGHT
           
BOTTOM_BACK
           
BOTTOM_FRONT
           
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
FRONT_LEFT
           
FRONT_RIGHT
           
TOP_BACK
           
TOP_FRONT
           
TOP_LEFT
           
TOP_RIGHT
           
 
Method Summary
 boolean containsVertex(Cube.Vertex vertex)
           
static Cube.Edge getEdge(int mask)
           
 int getMask()
           
 int getNumberOfVertexes()
           
 Cube.Vertex[] getVertexes()
           
static Cube.Edge valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Cube.Edge[] 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

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

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