Class Distance.SimplexCache

  • Enclosing class:
    Distance

    public static class Distance.SimplexCache
    extends java.lang.Object
    Used to warm start Distance. Set count to zero on first call.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int count  
      int[] indexA
      vertices on shape A
      int[] indexB
      vertices on shape B
      float metric
      length or area
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplexCache()  
    • Field Detail

      • metric

        public float metric
        length or area
      • count

        public int count
      • indexA

        public final int[] indexA
        vertices on shape A
      • indexB

        public final int[] indexB
        vertices on shape B
    • Constructor Detail

      • SimplexCache

        public SimplexCache()