Box2D: b2DistanceOutput Struct Reference

# b2DistanceOutput Struct Reference

Output for b2Distance. More...

`#include <b2Distance.h>`

List of all members.

## Public Attributes

b2Vec2 | pointA
| closest point on shapeA
b2Vec2 | pointB
| closest point on shapeB
float32 | distance
int32 | iterations
| number of GJK iterations used

## Detailed Description

Output for b2Distance.

## Member Data Documentation

float32 b2DistanceOutput::distance

int32 b2DistanceOutput::iterations

number of GJK iterations used

b2Vec2 b2DistanceOutput::pointA

closest point on shapeA

b2Vec2 b2DistanceOutput::pointB

closest point on shapeB

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

- Box2D/Box2D/Collision/b2Distance.h