Packageorg.generalrelativity.foam.dynamics.collision
Interfacepublic interface ICollisionFactory
ImplementorsSATCollisionFactory



Public Methods
 MethodDefined by
  
Gets the collision detector this factory determines based on the supplied elements
ICollisionFactory
Method detail
getCollisionDetector()method
public function getCollisionDetector(element1:ISimulatable, element2:ISimulatable):IFineCollisionDetector

Gets the collision detector this factory determines based on the supplied elements

Parameters
element1:ISimulatable — first element to consider
 
element2:ISimulatable — second element to consider

Returns
IFineCollisionDetector — implementor of IFineCollisionDetector to be used by the PhysicsEngine to ultimately determine collision and to generate contacts

See also

ICoarseCollisionDetector.getCandidates