Box2D: b2ContactID::Features Struct Reference

# b2ContactID::Features Struct Reference

The features that intersect to form the contact point. More...

`#include <b2Collision.h>`

List of all members.

## Public Attributes

uint8 | referenceEdge
| The edge that defines the outward contact normal.
uint8 | incidentEdge
| The edge most anti-parallel to the reference edge.
uint8 | incidentVertex
| The vertex (0 or 1) on the incident edge that was clipped.
uint8 | flip
| A value of 1 indicates that the reference edge is on shape2.

## Detailed Description

The features that intersect to form the contact point.

## Member Data Documentation

uint8 b2ContactID::Features::flip

A value of 1 indicates that the reference edge is on shape2.

uint8 b2ContactID::Features::incidentEdge

The edge most anti-parallel to the reference edge.

uint8 b2ContactID::Features::incidentVertex

The vertex (0 or 1) on the incident edge that was clipped.

uint8 b2ContactID::Features::referenceEdge

The edge that defines the outward contact normal.

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

- Box2D/Box2D/Collision/b2Collision.h