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

java.lang.Object
  extended by java.lang.Enum<Cube.Face>
      extended by uk.ac.ed.computational_geometry.algorithm.marching_cubes.Cube.Face
All Implemented Interfaces:
Serializable, Comparable<Cube.Face>
Enclosing class:
Cube

public static enum Cube.Face
extends Enum<Cube.Face>


Enum Constant Summary
BACK
           
BOTTOM
           
FRONT
           
LEFT
           
RIGHT
           
TOP
           
 
Method Summary
 boolean containsVertex(Cube.Vertex vertex)
           
 List<Cube.Edge> getEdgesClockwise()
           
static Cube.Face getFace(int mask)
           
 int getMask()
           
 int getNumberOfVertexes()
           
 Cube.Vertex[] getVertexes()
           
 List<Cube.Vertex> getVertexesClockwise()
           
static Cube.Face valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Cube.Face[] 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

TOP

public static final Cube.Face TOP

BOTTOM

public static final Cube.Face BOTTOM

FRONT

public static final Cube.Face FRONT

BACK

public static final Cube.Face BACK

LEFT

public static final Cube.Face LEFT

RIGHT

public static final Cube.Face RIGHT
Method Detail

values

public static final Cube.Face[] 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.Face c : Cube.Face.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.Face 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

getFace

public static Cube.Face getFace(int mask)

getEdgesClockwise

public List<Cube.Edge> getEdgesClockwise()

getVertexesClockwise

public List<Cube.Vertex> getVertexesClockwise()

getMask

public int getMask()

containsVertex

public boolean containsVertex(Cube.Vertex vertex)

getVertexes

public Cube.Vertex[] getVertexes()

getNumberOfVertexes

public int getNumberOfVertexes()