public static class Distance.SimplexCache
- Object
- Distance.SimplexCache
Used to warm start Distance. Set count to zero on first call.
Fields
public float metric | length or area |
public int count | |
public final int[] indexA | vertices on shape A |
public final int[] indexB | vertices on shape B |
Constructors
public SimplexCache() |
Methods
public void set(Distance.SimplexCache sc) |
Inherited methods
Field details
metric
public float metriclength or area
count
public int countindexA
public final int[] indexAvertices on shape A
indexB
public final int[] indexBvertices on shape B
Constructor details
SimplexCache
public SimplexCache()Method details
set
public void set(Distance.SimplexCache sc)