public static enum Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem extends java.lang.Enum<Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem>
| Enum Constant and Description |
|---|
CLOSE_VERTICES
too close vertices: the squared distance between at least 2 vertices is closer than
Box2DUtils.Settings.linearSlop squared |
MALFORMED_VERTICES
malformed vertices
|
VERTEX_COUNT
less than 2 vertices
|
| Modifier and Type | Method and Description |
|---|---|
static Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem MALFORMED_VERTICES
public static final Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem VERTEX_COUNT
public static final Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem CLOSE_VERTICES
Box2DUtils.Settings.linearSlop squaredpublic static Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem[] values()
for (Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem c : Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem.values()) System.out.println(c);
public static Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null