org.jbox2d.collision
Interface SupportsGenericDistance

All Known Implementing Classes:
PolygonShape

public interface SupportsGenericDistance

A shape that implements this interface can be used in distance calculations for continuous collision detection. This does not remove the necessity of specialized penetration calculations when CCD is not in effect, however.


Method Summary
 Vec2 getFirstVertex(XForm xf)
           
 Vec2 support(XForm xf, Vec2 v)
           
 

Method Detail

support

Vec2 support(XForm xf,
             Vec2 v)

getFirstVertex

Vec2 getFirstVertex(XForm xf)