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:
java.io.Serializable
Direct Known Subclasses:
Box2DUtils.PreconditionCheck.InvalidChainShapeException, Box2DUtils.PreconditionCheck.InvalidPolygonShapeException
Enclosing class:
Box2DUtils.PreconditionCheck

public abstract static class Box2DUtils.PreconditionCheck.InvalidPolyShapeException
extends java.lang.IllegalArgumentException
indicates that a poly shape cannot be created from these vertices
Since:
0.11.0
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    int length  
    int offset  
    float[] vertices
    the vertices of the shape
  • Method Summary

    Modifier and Type Method Description
    abstract com.badlogic.gdx.physics.box2d.Shape.Type getType()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • vertices

      public float[] vertices
      the 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