Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.PreconditionCheck.InvalidChainShapeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidChainShapeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
Box2DUtils.PreconditionCheck
public static class Box2DUtils.PreconditionCheck.InvalidChainShapeException
extends Box2DUtils.PreconditionCheck.InvalidPolyShapeException
indicates that a ChainShape cannot be created from this polyline
- Since:
- 0.11.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumthe reason why this ChainShape cannot be created -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
length, offset, vertices -
Constructor Summary
ConstructorsConstructorDescriptionInvalidChainShapeException(String message, Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem problem, float[] vertices, int offset, int length) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
problem
-
-
Constructor Details
-
InvalidChainShapeException
public InvalidChainShapeException(String message, Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem problem, float[] vertices, int offset, int length)
-
-
Method Details
-
getType
public com.badlogic.gdx.physics.box2d.Shape.Type getType()- Specified by:
getTypein classBox2DUtils.PreconditionCheck.InvalidPolyShapeException- Returns:
- the Type of the Shape
-