Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.PreconditionCheck.InvalidPolyShapeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Box2DUtils.PreconditionCheck.InvalidChainShapeException,Box2DUtils.PreconditionCheck.InvalidPolygonShapeException
- Enclosing class:
Box2DUtils.PreconditionCheck
public abstract static class Box2DUtils.PreconditionCheck.InvalidPolyShapeException
extends IllegalArgumentException
indicates that a poly shape cannot be created from these vertices
- Since:
- 0.11.0
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
vertices
public float[] verticesthe vertices of the shape -
offset
public int offset -
length
public int length
-
-
Method Details
-
getType
public abstract com.badlogic.gdx.physics.box2d.Shape.Type getType()- Returns:
- the Type of the Shape
-