# b2ContactSolver Class Reference

`#include <b2ContactSolver.h>`

List of all members.

## Public Member Functions
| b2ContactSolver (b2Contact **contacts, int32 contactCount, b2StackAllocator *allocator, float32 impulseRatio)
| ~b2ContactSolver ()
void | WarmStart ()
void | SolveVelocityConstraints ()
void | StoreImpulses ()
bool | SolvePositionConstraints (float32 baumgarte)
## Public Attributes
b2StackAllocator * | m_allocator
b2ContactConstraint * | m_constraints
int | m_constraintCount

## Constructor & Destructor Documentation

b2ContactSolver::b2ContactSolver | ( | b2Contact ** | contacts,
|  | int32 | contactCount,
|  | b2StackAllocator * | allocator,
|  | float32 | impulseRatio |
| ) |  |  |

b2ContactSolver::~b2ContactSolver | ( |  | ) |

## Member Function Documentation

bool b2ContactSolver::SolvePositionConstraints | ( | float32 | baumgarte | ) |

void b2ContactSolver::SolveVelocityConstraints | ( |  | ) |

void b2ContactSolver::StoreImpulses | ( |  | ) |

void b2ContactSolver::WarmStart | ( |  | ) |

## Member Data Documentation

b2StackAllocator* b2ContactSolver::m_allocator

int b2ContactSolver::m_constraintCount

b2ContactConstraint* b2ContactSolver::m_constraints

The documentation for this class was generated from the following files:

- Box2D/Box2D/Dynamics/Contacts/b2ContactSolver.h
- Box2D/Box2D/Dynamics/Contacts/b2ContactSolver.cpp