# b2SeparationFunction Struct Reference

List of all members.

## Public Types
enum | Type { e_points, e_faceA, e_faceB }
## Public Member Functions
float32 | Initialize (const b2SimplexCache *cache, const b2DistanceProxy *proxyA, const b2Sweep &sweepA, const b2DistanceProxy *proxyB, const b2Sweep &sweepB)
float32 | FindMinSeparation (int32 *indexA, int32 *indexB, float32 t) const
float32 | Evaluate (int32 indexA, int32 indexB, float32 t) const
## Public Attributes
const b2DistanceProxy * | m_proxyA
const b2DistanceProxy * | m_proxyB
b2Sweep | m_sweepA
b2Sweep | m_sweepB
Type | m_type
b2Vec2 | m_localPoint
b2Vec2 | m_axis

## Member Enumeration Documentation

enum b2SeparationFunction::Type

Enumerator:

  e_points |
  e_faceA |
  e_faceB |

## Member Function Documentation

float32 b2SeparationFunction::Evaluate | ( | int32 | indexA,
|  | int32 | indexB,
|  | float32 | t |
| ) |  |  | const`[inline]`

float32 b2SeparationFunction::FindMinSeparation | ( | int32 * | indexA,
|  | int32 * | indexB,
|  | float32 | t |
| ) |  |  | const`[inline]`

float32 b2SeparationFunction::Initialize | ( | const b2SimplexCache * | cache,
|  | const b2DistanceProxy * | proxyA,
|  | const b2Sweep & | sweepA,
|  | const b2DistanceProxy * | proxyB,
|  | const b2Sweep & | sweepB |
| ) |  |  | `[inline]`

## Member Data Documentation

b2Vec2 b2SeparationFunction::m_axis

b2Vec2 b2SeparationFunction::m_localPoint

const b2DistanceProxy* b2SeparationFunction::m_proxyA

const b2DistanceProxy* b2SeparationFunction::m_proxyB

b2Sweep b2SeparationFunction::m_sweepA

b2Sweep b2SeparationFunction::m_sweepB

Type b2SeparationFunction::m_type

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

- Box2D/Box2D/Collision/b2TimeOfImpact.cpp