Module org.dyn4j

Interface NarrowphaseDetector

  • All Known Implementing Classes:
    FallbackNarrowphaseDetector, Gjk, Sat

    public interface NarrowphaseDetector
    Represents an algorithm to detect whether two Convex Shapes are penetrating/overlapping each other.

    If the Convex Shapes are penetrating/overlapping one another, the algorithm must determine the penetration axis of minimum depth and the depth of the penetration.

    All NarrowphaseDetectors are only required to perform tests on Convex Shapes. Doing so allows for faster and simpler code. Concave objects can also be supported by performing a convex decomposition and testing the convex pieces individually.

    Since:
    1.0.0
    Version:
    1.0.3
    Author:
    William Bittle