Interface BatchBroadphaseDetector<E extends Collidable<T>,T extends Fixture>
- All Known Implementing Classes:
public interface BatchBroadphaseDetector<E extends Collidable<T>,T extends Fixture> extends BroadphaseDetector<E,T>Represents a broad-phase collision detection algorithm that also can perform a batch update operation that is more efficient than updating all the collidable and fixtures one by one. This is initially added because it makes a very big difference for the implementation of LazyAABBTree, but it can be useful in other future broadphase detectors as well. When the World.java class uses a BatchBroadphaseDetector it will just call batchUpdate() once instead of updating each body seperately. Note that operations of batch addition or deletion did not seem important or commonplace, so the interface just provides a batch update method.
- Manolis Tsamis
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
Methods inherited from interface org.dyn4j.collision.broadphase.BroadphaseDetector
add, add, clear, contains, contains, detect, detect, detect, detect, detect, detect, getAABB, getAABB, getAABBExpansion, raycast, raycast, remove, remove, setAABBExpansion, size, supportsAABBExpansion, update, update