# b2Simplex Struct Reference

List of all members.

## Public Member Functions
void | ReadCache (const b2SimplexCache *cache, const b2DistanceProxy *proxyA, const b2Transform &transformA, const b2DistanceProxy *proxyB, const b2Transform &transformB)
void | WriteCache (b2SimplexCache *cache) const
b2Vec2 | GetSearchDirection () const
b2Vec2 | GetClosestPoint () const
void | GetWitnessPoints (b2Vec2 *pA, b2Vec2 *pB) const
float32 | GetMetric () const
void | Solve2 ()
void | Solve3 ()
## Public Attributes
b2SimplexVertex | m_v1
b2SimplexVertex | m_v2
b2SimplexVertex | m_v3
int32 | m_count

## Member Function Documentation

b2Vec2 b2Simplex::GetClosestPoint | ( |  | ) | const`[inline]`

float32 b2Simplex::GetMetric | ( |  | ) | const`[inline]`

b2Vec2 b2Simplex::GetSearchDirection | ( |  | ) | const`[inline]`

void b2Simplex::GetWitnessPoints | ( | b2Vec2 * | pA,
|  | b2Vec2 * | pB |
| ) |  |  | const`[inline]`

void b2Simplex::ReadCache | ( | const b2SimplexCache * | cache,
|  | const b2DistanceProxy * | proxyA,
|  | const b2Transform & | transformA,
|  | const b2DistanceProxy * | proxyB,
|  | const b2Transform & | transformB |
| ) |  |  | `[inline]`

void b2Simplex::Solve2 | ( |  | ) |

void b2Simplex::Solve3 | ( |  | ) |

void b2Simplex::WriteCache | ( | b2SimplexCache * | cache | ) | const`[inline]`

## Member Data Documentation

int32 b2Simplex::m_count

b2SimplexVertex b2Simplex::m_v1

b2SimplexVertex b2Simplex::m_v2

b2SimplexVertex b2Simplex::m_v3

The documentation for this struct was generated from the following file:

- Box2D/Box2D/Collision/b2Distance.cpp