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

#include <SIM_ColliderBFA.h>

+ Inheritance diagram for simFaceVertexEvent:

Public Member Functions

 simFaceVertexEvent ()
 
 simFaceVertexEvent (const SIM_Time &time, const UT_Vector3 &normal, fpreal distance, bool firstIsFace, int vid, fpreal bary0, fpreal bary1)
 
UT_Vector3 getBaryV3 () const
 Retrieve a barycentric vector for the face's primitive. More...
 
- Public Member Functions inherited from sim4PointEvent
 sim4PointEvent ()
 
 sim4PointEvent (const SIM_Time &time, const UT_Vector3 &normal, fpreal distance)
 

Public Attributes

bool myFirstIsFace
 
int myVid
 Vertex id. More...
 
fpreal myBary [2]
 Barycentric position within the face. More...
 
- Public Attributes inherited from sim4PointEvent
SIM_Time myTime
 
UT_Vector3 myNormal
 
fpreal myDistance
 

Detailed Description

Definition at line 59 of file SIM_ColliderBFA.h.

Constructor & Destructor Documentation

simFaceVertexEvent::simFaceVertexEvent ( )
inline

Definition at line 61 of file SIM_ColliderBFA.h.

simFaceVertexEvent::simFaceVertexEvent ( const SIM_Time time,
const UT_Vector3 normal,
fpreal  distance,
bool  firstIsFace,
int  vid,
fpreal  bary0,
fpreal  bary1 
)
inline

Definition at line 64 of file SIM_ColliderBFA.h.

Member Function Documentation

UT_Vector3 simFaceVertexEvent::getBaryV3 ( ) const
inline

Retrieve a barycentric vector for the face's primitive.

Definition at line 77 of file SIM_ColliderBFA.h.

Member Data Documentation

fpreal simFaceVertexEvent::myBary[2]

Barycentric position within the face.

Definition at line 88 of file SIM_ColliderBFA.h.

bool simFaceVertexEvent::myFirstIsFace

The face that's the "face" in this event is the first of the two primitives in this event.

Definition at line 84 of file SIM_ColliderBFA.h.

int simFaceVertexEvent::myVid

Vertex id.

Definition at line 86 of file SIM_ColliderBFA.h.


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