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

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

## Functions
void | b2CollidePolygons (b2Manifold *manifold, const b2PolygonShape *polyA, const b2Transform &xfA, const b2PolygonShape *polyB, const b2Transform &xfB)
| Compute the collision manifold between two polygons.

## Function Documentation

void b2CollidePolygons | ( | b2Manifold * | manifold,
|  | const b2PolygonShape * | polyA,
|  | const b2Transform & | xfA,
|  | const b2PolygonShape * | polyB,
|  | const b2Transform & | xfB |
| ) |  |  |

Compute the collision manifold between two polygons.