Box2D: Box2D/Box2D/Collision/b2CollideCircle.cpp File Reference

# Box2D/Box2D/Collision/b2CollideCircle.cpp File Reference

`#include <Box2D/Collision/b2Collision.h>`
`#include <Box2D/Collision/Shapes/b2CircleShape.h>`
`#include <Box2D/Collision/Shapes/b2PolygonShape.h>`

## Functions

void | b2CollideCircles (b2Manifold *manifold, const b2CircleShape *circleA, const b2Transform &xfA, const b2CircleShape *circleB, const b2Transform &xfB)
| Compute the collision manifold between two circles.
void | b2CollidePolygonAndCircle (b2Manifold *manifold, const b2PolygonShape *polygonA, const b2Transform &xfA, const b2CircleShape *circleB, const b2Transform &xfB)
| Compute the collision manifold between a polygon and a circle.

## Function Documentation

void b2CollideCircles | ( | b2Manifold * | manifold,
|  | const b2CircleShape * | circleA,
|  | const b2Transform & | xfA,
|  | const b2CircleShape * | circleB,
|  | const b2Transform & | xfB |
| ) |  |  |

Compute the collision manifold between two circles.

void b2CollidePolygonAndCircle | ( | b2Manifold * | manifold,
|  | const b2PolygonShape * | polygonA,
|  | const b2Transform & | xfA,
|  | const b2CircleShape * | circleB,
|  | const b2Transform & | xfB |
| ) |  |  |

Compute the collision manifold between a polygon and a circle.