public class Distance
extends java.lang.Object
SingletonPool
, don't
construct a distance object.Modifier and Type | Class and Description |
---|---|
static class |
Distance.DistanceProxy
A distance proxy is used by the GJK algorithm.
|
static class |
Distance.SimplexCache
Used to warm start Distance.
|
Modifier and Type | Field and Description |
---|---|
static int |
GJK_CALLS |
static int |
GJK_ITERS |
static int |
GJK_MAX_ITERS |
Constructor and Description |
---|
Distance() |
Modifier and Type | Method and Description |
---|---|
void |
distance(DistanceOutput output,
Distance.SimplexCache cache,
DistanceInput input)
Compute the closest points between two shapes.
|
public static int GJK_CALLS
public static int GJK_ITERS
public static int GJK_MAX_ITERS
public final void distance(DistanceOutput output, Distance.SimplexCache cache, DistanceInput input)
output
- cache
- input
- Copyright © 2017. All Rights Reserved.