All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sim4PointEvent Struct Reference

#include <SIM_ColliderBFA.h>

+ Inheritance diagram for sim4PointEvent:

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 37 of file SIM_ColliderBFA.h.

Constructor & Destructor Documentation

sim4PointEvent::sim4PointEvent ( )

Definition at line 39 of file SIM_ColliderBFA.h.

sim4PointEvent::sim4PointEvent ( const SIM_Time time,
const UT_Vector3 normal,
fpreal  distance 

Definition at line 41 of file SIM_ColliderBFA.h.

Member Data Documentation

fpreal sim4PointEvent::myDistance

Definition at line 56 of file SIM_ColliderBFA.h.

UT_Vector3 sim4PointEvent::myNormal

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 55 of file SIM_ColliderBFA.h.

SIM_Time sim4PointEvent::myTime

Definition at line 48 of file SIM_ColliderBFA.h.

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