public static enum Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem extends java.lang.Enum<Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem>
| Enum Constant and Description |
|---|
AREA
too small area: smaller than
Box2DUtils.Settings.epsilon |
CONCAVE
the vertices form a concave polygon
|
MALFORMED_VERTICES
malformed vertices
|
VERTEX_COUNT
invalid vertex count: smaller than 3 or greater than
Box2DUtils.Settings.maxPolygonVertices |
| Modifier and Type | Method and Description |
|---|---|
static Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem MALFORMED_VERTICES
public static final Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem VERTEX_COUNT
Box2DUtils.Settings.maxPolygonVerticespublic static final Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem CONCAVE
public static final Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem AREA
Box2DUtils.Settings.epsilonpublic static Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem[] values()
for (Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem c : Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.Problem.values()) System.out.println(c);
public static Box2DUtils.PreconditionCheck.InvalidPolygonShapeException.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