com.bulletphysics.collision.broadphase
Class BroadphasePair

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.BroadphasePair

public class BroadphasePair
extends Object

BroadphasePair class contains a pair of AABB-overlapping objects. Dispatcher can search a CollisionAlgorithm that performs exact/narrowphase collision detection on the actual collision shapes.


Field Summary
 CollisionAlgorithm algorithm
           
static Comparator<BroadphasePair> broadphasePairSortPredicate
           
 BroadphaseProxy pProxy0
           
 BroadphaseProxy pProxy1
           
 Object userInfo
           
 
Constructor Summary
BroadphasePair()
           
BroadphasePair(BroadphaseProxy pProxy0, BroadphaseProxy pProxy1)
           
 
Method Summary
 boolean equals(BroadphasePair p)
           
 void set(BroadphasePair p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pProxy0

public BroadphaseProxy pProxy0

pProxy1

public BroadphaseProxy pProxy1

algorithm

public CollisionAlgorithm algorithm

userInfo

public Object userInfo

broadphasePairSortPredicate

public static final Comparator<BroadphasePair> broadphasePairSortPredicate
Constructor Detail

BroadphasePair

public BroadphasePair()

BroadphasePair

public BroadphasePair(BroadphaseProxy pProxy0,
                      BroadphaseProxy pProxy1)
Method Detail

set

public void set(BroadphasePair p)

equals

public boolean equals(BroadphasePair p)