Package org.jbox2d.collision
Class SeparationFunction
java.lang.Object
org.jbox2d.collision.SeparationFunction
class SeparationFunction
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Vec2
final Vec2
final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Vec2
private final Transform
private final Transform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
evaluate
(int indexA, int indexB, float t) float
findMinSeparation
(int[] indexes, float t) float
initialize
(Distance.SimplexCache cache, Distance.DistanceProxy proxyA, Sweep sweepA, Distance.DistanceProxy proxyB, Sweep sweepB, float t1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_proxyA
-
m_proxyB
-
m_type
-
m_localPoint
-
m_axis
-
m_sweepA
-
m_sweepB
-
localPointA
-
localPointB
-
pointA
-
pointB
-
localPointA1
-
localPointA2
-
normal
-
localPointB1
-
localPointB2
-
temp
-
xfa
-
xfb
-
axisA
-
axisB
-
-
Constructor Details
-
SeparationFunction
SeparationFunction()
-
-
Method Details
-
initialize
public float initialize(Distance.SimplexCache cache, Distance.DistanceProxy proxyA, Sweep sweepA, Distance.DistanceProxy proxyB, Sweep sweepB, float t1) -
findMinSeparation
public float findMinSeparation(int[] indexes, float t) -
evaluate
public float evaluate(int indexA, int indexB, float t)
-