Class Intersector.MinimumTranslationVector

  • Enclosing class:
    Intersector

    public static class Intersector.MinimumTranslationVector
    extends java.lang.Object
    Minimum translation required to separate two polygons.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float depth
      Distance of the translation required for the separation
      Vector2 normal
      Unit length vector that indicates the direction for the separation
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • normal

        public Vector2 normal
        Unit length vector that indicates the direction for the separation
      • depth

        public float depth
        Distance of the translation required for the separation
    • Constructor Detail

      • MinimumTranslationVector

        public MinimumTranslationVector()