Classes | Functions
b2Distance.h File Reference
#include <Box2D/Common/b2Math.h>
Include dependency graph for b2Distance.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  b2DistanceInput
 
struct  b2DistanceOutput
 Output for b2Distance. More...
 
struct  b2DistanceProxy
 
struct  b2SimplexCache
 

Functions

void b2Distance (b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
 

Function Documentation

void b2Distance ( b2DistanceOutput output,
b2SimplexCache cache,
const b2DistanceInput input 
)

Compute the closest points between two shapes. Supports any combination of: b2CircleShape, b2PolygonShape, b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.

Definition at line 444 of file b2Distance.cpp.



mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:51