uk.ac.ed.computational_geometry.algorithm.marching_cubes
Enum Cube.Type
java.lang.Object
java.lang.Enum<Cube.Type>
uk.ac.ed.computational_geometry.algorithm.marching_cubes.Cube.Type
- All Implemented Interfaces:
- Serializable, Comparable<Cube.Type>
- Enclosing class:
- Cube
public static enum Cube.Type
- extends Enum<Cube.Type>
Method Summary |
static Cube.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Cube.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
SURFACE
public static final Cube.Type SURFACE
INSIDE
public static final Cube.Type INSIDE
OUTSIDE
public static final Cube.Type OUTSIDE
UNKNOWN
public static final Cube.Type UNKNOWN
values
public static final Cube.Type[] 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.Type c : Cube.Type.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.Type 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