Public Types | Public Attributes
b2Manifold Struct Reference

#include <b2Collision.h>

List of all members.

Public Types

enum  Type { e_circles, e_faceA, e_faceB }

Public Attributes

b2Vec2 localNormal
 not use for Type::e_points
b2Vec2 localPoint
 usage depends on manifold type
int32 pointCount
 the number of manifold points
b2ManifoldPoint points [b2_maxManifoldPoints]
 the points of contact
Type type

Detailed Description

A manifold for two touching convex shapes. Box2D supports multiple types of contact:

Definition at line 93 of file b2Collision.h.


Member Enumeration Documentation

Enumerator:
e_circles 
e_faceA 
e_faceB 

Definition at line 95 of file b2Collision.h.


Member Data Documentation

not use for Type::e_points

Definition at line 103 of file b2Collision.h.

usage depends on manifold type

Definition at line 104 of file b2Collision.h.

the number of manifold points

Definition at line 106 of file b2Collision.h.

the points of contact

Definition at line 102 of file b2Collision.h.

Definition at line 105 of file b2Collision.h.


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


mvsim
Author(s):
autogenerated on Thu Sep 7 2017 09:27:49