physics3d
Enum ShapeClassification

java.lang.Object
  extended by java.lang.Enum<ShapeClassification>
      extended by physics3d.ShapeClassification
All Implemented Interfaces:
Serializable, Comparable<ShapeClassification>

public enum ShapeClassification
extends Enum<ShapeClassification>

ShapeClassification is a tag that describes a PhysicsShape


Enum Constant Summary
LATERAL_CYLINDER
           
PLANE
           
PLANE_CIRCLE
           
PLANE_POLYGON
           
SPHERE
           
TORUS
           
 
Method Summary
static ShapeClassification valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ShapeClassification[] 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

LATERAL_CYLINDER

public static final ShapeClassification LATERAL_CYLINDER

PLANE_CIRCLE

public static final ShapeClassification PLANE_CIRCLE

PLANE_POLYGON

public static final ShapeClassification PLANE_POLYGON

SPHERE

public static final ShapeClassification SPHERE

TORUS

public static final ShapeClassification TORUS

PLANE

public static final ShapeClassification PLANE
Method Detail

values

public static final ShapeClassification[] 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(ShapeClassification c : ShapeClassification.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ShapeClassification 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