com.bulletphysics.collision.broadphase
Enum BroadphaseNativeType

java.lang.Object
  extended by java.lang.Enum<BroadphaseNativeType>
      extended by com.bulletphysics.collision.broadphase.BroadphaseNativeType
All Implemented Interfaces:
Serializable, Comparable<BroadphaseNativeType>

public enum BroadphaseNativeType
extends Enum<BroadphaseNativeType>

Dispatcher uses these types.

IMPORTANT NOTE: The types are ordered polyhedral, implicit convex and concave to facilitate type checking.


Enum Constant Summary
BOX_SHAPE_PROXYTYPE
           
CAPSULE_SHAPE_PROXYTYPE
           
COMPOUND_SHAPE_PROXYTYPE
           
CONCAVE_SHAPES_END_HERE
           
CONCAVE_SHAPES_START_HERE
           
CONE_SHAPE_PROXYTYPE
           
CONVEX_HULL_SHAPE_PROXYTYPE
           
CONVEX_SHAPE_PROXYTYPE
           
CONVEX_TRIANGLEMESH_SHAPE_PROXYTYPE
           
CYLINDER_SHAPE_PROXYTYPE
           
EMPTY_SHAPE_PROXYTYPE
           
FAST_CONCAVE_MESH_PROXYTYPE
           
GIMPACT_SHAPE_PROXYTYPE
           
IMPLICIT_CONVEX_SHAPES_START_HERE
           
INVALID_SHAPE_PROXYTYPE
           
MAX_BROADPHASE_COLLISION_TYPES
           
MINKOWSKI_DIFFERENCE_SHAPE_PROXYTYPE
           
MINKOWSKI_SUM_SHAPE_PROXYTYPE
           
MULTI_SPHERE_SHAPE_PROXYTYPE
           
MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE
           
SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE
           
SOFTBODY_SHAPE_PROXYTYPE
           
SPHERE_SHAPE_PROXYTYPE
           
STATIC_PLANE_PROXYTYPE
           
TERRAIN_SHAPE_PROXYTYPE
           
TETRAHEDRAL_SHAPE_PROXYTYPE
           
TRIANGLE_MESH_SHAPE_PROXYTYPE
           
TRIANGLE_SHAPE_PROXYTYPE
           
UNIFORM_SCALING_SHAPE_PROXYTYPE
           
 
Method Summary
static BroadphaseNativeType forValue(int value)
           
 boolean isCompound()
           
 boolean isConcave()
           
 boolean isConvex()
           
 boolean isInfinite()
           
 boolean isPolyhedral()
           
static BroadphaseNativeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BroadphaseNativeType[] 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

BOX_SHAPE_PROXYTYPE

public static final BroadphaseNativeType BOX_SHAPE_PROXYTYPE

TRIANGLE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType TRIANGLE_SHAPE_PROXYTYPE

TETRAHEDRAL_SHAPE_PROXYTYPE

public static final BroadphaseNativeType TETRAHEDRAL_SHAPE_PROXYTYPE

CONVEX_TRIANGLEMESH_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CONVEX_TRIANGLEMESH_SHAPE_PROXYTYPE

CONVEX_HULL_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CONVEX_HULL_SHAPE_PROXYTYPE

IMPLICIT_CONVEX_SHAPES_START_HERE

public static final BroadphaseNativeType IMPLICIT_CONVEX_SHAPES_START_HERE

SPHERE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType SPHERE_SHAPE_PROXYTYPE

MULTI_SPHERE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType MULTI_SPHERE_SHAPE_PROXYTYPE

CAPSULE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CAPSULE_SHAPE_PROXYTYPE

CONE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CONE_SHAPE_PROXYTYPE

CONVEX_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CONVEX_SHAPE_PROXYTYPE

CYLINDER_SHAPE_PROXYTYPE

public static final BroadphaseNativeType CYLINDER_SHAPE_PROXYTYPE

UNIFORM_SCALING_SHAPE_PROXYTYPE

public static final BroadphaseNativeType UNIFORM_SCALING_SHAPE_PROXYTYPE

MINKOWSKI_SUM_SHAPE_PROXYTYPE

public static final BroadphaseNativeType MINKOWSKI_SUM_SHAPE_PROXYTYPE

MINKOWSKI_DIFFERENCE_SHAPE_PROXYTYPE

public static final BroadphaseNativeType MINKOWSKI_DIFFERENCE_SHAPE_PROXYTYPE

CONCAVE_SHAPES_START_HERE

public static final BroadphaseNativeType CONCAVE_SHAPES_START_HERE

TRIANGLE_MESH_SHAPE_PROXYTYPE

public static final BroadphaseNativeType TRIANGLE_MESH_SHAPE_PROXYTYPE

SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE

public static final BroadphaseNativeType SCALED_TRIANGLE_MESH_SHAPE_PROXYTYPE

FAST_CONCAVE_MESH_PROXYTYPE

public static final BroadphaseNativeType FAST_CONCAVE_MESH_PROXYTYPE

TERRAIN_SHAPE_PROXYTYPE

public static final BroadphaseNativeType TERRAIN_SHAPE_PROXYTYPE

GIMPACT_SHAPE_PROXYTYPE

public static final BroadphaseNativeType GIMPACT_SHAPE_PROXYTYPE

MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE

public static final BroadphaseNativeType MULTIMATERIAL_TRIANGLE_MESH_PROXYTYPE

EMPTY_SHAPE_PROXYTYPE

public static final BroadphaseNativeType EMPTY_SHAPE_PROXYTYPE

STATIC_PLANE_PROXYTYPE

public static final BroadphaseNativeType STATIC_PLANE_PROXYTYPE

CONCAVE_SHAPES_END_HERE

public static final BroadphaseNativeType CONCAVE_SHAPES_END_HERE

COMPOUND_SHAPE_PROXYTYPE

public static final BroadphaseNativeType COMPOUND_SHAPE_PROXYTYPE

SOFTBODY_SHAPE_PROXYTYPE

public static final BroadphaseNativeType SOFTBODY_SHAPE_PROXYTYPE

INVALID_SHAPE_PROXYTYPE

public static final BroadphaseNativeType INVALID_SHAPE_PROXYTYPE

MAX_BROADPHASE_COLLISION_TYPES

public static final BroadphaseNativeType MAX_BROADPHASE_COLLISION_TYPES
Method Detail

values

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

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

valueOf

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

forValue

public static BroadphaseNativeType forValue(int value)

isPolyhedral

public boolean isPolyhedral()

isConvex

public boolean isConvex()

isConcave

public boolean isConcave()

isCompound

public boolean isCompound()

isInfinite

public boolean isInfinite()