b2Manifold Struct Reference

#include <b2Collision.h>

List of all members.

Public Types

enum  Type { e_circles, e_faceA, e_faceB }

Public Attributes

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

Detailed Description

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


Member Enumeration Documentation

Enumerator:
e_circles 
e_faceA 
e_faceB 

Member Data Documentation

not use for Type::e_points

usage depends on manifold type

the number of manifold points

b2ManifoldPoint b2Manifold::points[b2_maxManifoldPoints]

the points of contact


The documentation for this struct was generated from the following file:
Generated on Sat Apr 3 18:18:09 2010 for Box2D by  doxygen 1.6.3