physics3d
Enum ShapeClassification
java.lang.Object
java.lang.Enum<ShapeClassification>
physics3d.ShapeClassification
- All Implemented Interfaces:
- Serializable, Comparable<ShapeClassification>
public enum ShapeClassification
- extends Enum<ShapeClassification>
ShapeClassification is a tag that describes a PhysicsShape
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
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