sim4PointEvent Struct Reference

#include <SIM_ColliderBFA.h>

Inheritance diagram for sim4PointEvent:

simEdgeEdgeEvent simFaceVertexEvent

List of all members.

Public Member Functions

 sim4PointEvent ()
 sim4PointEvent (const SIM_Time &time, const UT_Vector3 &normal, fpreal distance)

Public Attributes

SIM_Time myTime
UT_Vector3 myNormal
fpreal myDistance


Detailed Description

Definition at line 45 of file SIM_ColliderBFA.h.


Constructor & Destructor Documentation

sim4PointEvent::sim4PointEvent (  )  [inline]

Definition at line 47 of file SIM_ColliderBFA.h.

sim4PointEvent::sim4PointEvent ( const SIM_Time time,
const UT_Vector3 normal,
fpreal  distance 
) [inline]

Definition at line 49 of file SIM_ColliderBFA.h.


Member Data Documentation

Definition at line 64 of file SIM_ColliderBFA.h.

In a Face-Vertex event, the normal is from the face to the vertex. Points on the face should move in -normal direction and the vertex should move in the +normal direction to prevent collision. In a Edge-Edge/Tri-Tri event, the normal points from prim0 to prim1. Prim0 should move -normal and prim1 should move +normal to prevent collision.

Definition at line 63 of file SIM_ColliderBFA.h.

Definition at line 56 of file SIM_ColliderBFA.h.


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

Generated on Fri May 25 00:10:37 2012 for HDK by  doxygen 1.5.9