Class DistanceOutput


  • public class DistanceOutput
    extends java.lang.Object
    Output for Distance.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float distance  
      int iterations
      number of gjk iterations used
      Vec2 pointA
      Closest point on shapeA
      Vec2 pointB
      Closest point on shapeB
    • Constructor Summary

      Constructors 
      Constructor Description
      DistanceOutput()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • pointA

        public final Vec2 pointA
        Closest point on shapeA
      • pointB

        public final Vec2 pointB
        Closest point on shapeB
      • distance

        public float distance
      • iterations

        public int iterations
        number of gjk iterations used
    • Constructor Detail

      • DistanceOutput

        public DistanceOutput()