Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics::CollisionState::Contact Class Reference

Collaboration diagram for physics::CollisionState::Contact:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Contact (const Point3 &p1, const Point3 &p2, const Vector3 &n1, Real depth=0)

Public Attributes

Point3 p1
Point3 p2
 contact point in local coord. frame of the Solids/CollisionModels

Vector3 n1
 surface normal of contact on solid1 (n2=-n1)

Real depth
 penetration depth


Constructor & Destructor Documentation

physics::CollisionState::Contact::Contact const Point3 p1,
const Point3 p2,
const Vector3 n1,
Real  depth = 0
[inline]
 

Definition at line 57 of file CollisionState.

References base::Point3.


Member Data Documentation

Real physics::CollisionState::Contact::depth
 

penetration depth

Definition at line 61 of file CollisionState.

Vector3 physics::CollisionState::Contact::n1
 

surface normal of contact on solid1 (n2=-n1)

Definition at line 60 of file CollisionState.

Point3 physics::CollisionState::Contact::p1
 

Definition at line 59 of file CollisionState.

Point3 physics::CollisionState::Contact::p2
 

contact point in local coord. frame of the Solids/CollisionModels

Definition at line 59 of file CollisionState.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:40:17 2004 for OpenSim by doxygen 1.3.6