com.bulletphysics.dynamics.constraintsolver
Enum TypedConstraintType

java.lang.Object
  extended by java.lang.Enum<TypedConstraintType>
      extended by com.bulletphysics.dynamics.constraintsolver.TypedConstraintType
All Implemented Interfaces:
Serializable, Comparable<TypedConstraintType>

public enum TypedConstraintType
extends Enum<TypedConstraintType>

Typed constraint type.


Enum Constant Summary
CONETWIST_CONSTRAINT_TYPE
           
D6_CONSTRAINT_TYPE
           
HINGE_CONSTRAINT_TYPE
           
POINT2POINT_CONSTRAINT_TYPE
           
SLIDER_CONSTRAINT_TYPE
           
VEHICLE_CONSTRAINT_TYPE
           
 
Method Summary
static TypedConstraintType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TypedConstraintType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POINT2POINT_CONSTRAINT_TYPE

public static final TypedConstraintType POINT2POINT_CONSTRAINT_TYPE

HINGE_CONSTRAINT_TYPE

public static final TypedConstraintType HINGE_CONSTRAINT_TYPE

CONETWIST_CONSTRAINT_TYPE

public static final TypedConstraintType CONETWIST_CONSTRAINT_TYPE

D6_CONSTRAINT_TYPE

public static final TypedConstraintType D6_CONSTRAINT_TYPE

VEHICLE_CONSTRAINT_TYPE

public static final TypedConstraintType VEHICLE_CONSTRAINT_TYPE

SLIDER_CONSTRAINT_TYPE

public static final TypedConstraintType SLIDER_CONSTRAINT_TYPE
Method Detail

values

public static TypedConstraintType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TypedConstraintType c : TypedConstraintType.values())
    System.out.println(c);

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

valueOf

public static TypedConstraintType 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
NullPointerException - if the argument is null