Box2D: b2TOISolver Class Reference

# b2TOISolver Class Reference

`#include <b2TOISolver.h>`

List of all members.

## Public Member Functions

| b2TOISolver (b2StackAllocator *allocator)
| ~b2TOISolver ()
void | Initialize (b2Contact **contacts, int32 contactCount, b2Body *toiBody)
void | Clear ()
bool | Solve (float32 baumgarte)

## Detailed Description

This is a pure position solver for a single movable body in contact with multiple non-moving bodies.

## Constructor & Destructor Documentation

b2TOISolver::b2TOISolver | ( | b2StackAllocator * | allocator | ) |

b2TOISolver::~b2TOISolver | ( |  | ) |

## Member Function Documentation

void b2TOISolver::Clear | ( |  | ) |

void b2TOISolver::Initialize | ( | b2Contact ** | contacts,
|  | int32 | contactCount,
|  | b2Body * | toiBody |
| ) |  |  |

bool b2TOISolver::Solve | ( | float32 | baumgarte | ) |

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

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