HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_Isect Class Reference

This class defines various types of collisions. More...

#include <SIM_Isect.h>

Classes

struct  simIsectInfo
 

Public Member Functions

 SIM_Isect ()
 
 SIM_Isect (const UT_Vector3 &normal, fpreal64 depth, const SIM_Time &time, const simIsectInfo &objectInfoA, const simIsectInfo &objectInfoB)
 
 SIM_Isect (const UT_Vector3 &position, const UT_Vector3 &normal, const SIM_Time &time, fpreal64 depth, int obj_a, int obj_b)
 
bool isFaceVertex () const
 
bool isEdgeEdge () const
 

Public Attributes

fpreal64 myDepth
 Depth of the intersection. The value is expected to be negative. More...
 
UT_Vector3 myNormal
 Direction object A needs to move to resolve the intersection. More...
 
SIM_Time myTime
 Time of intersection. More...
 
simIsectInfo myObjectInfoA
 Information about the point of intersection on object A. More...
 
simIsectInfo myObjectInfoB
 Information about the point of intersection on object B. More...
 

Detailed Description

This class defines various types of collisions.

Definition at line 18 of file SIM_Isect.h.

Constructor & Destructor Documentation

SIM_Isect::SIM_Isect ( )
inline

Definition at line 107 of file SIM_Isect.h.

SIM_Isect::SIM_Isect ( const UT_Vector3 normal,
fpreal64  depth,
const SIM_Time time,
const simIsectInfo objectInfoA,
const simIsectInfo objectInfoB 
)
inline

Definition at line 111 of file SIM_Isect.h.

SIM_Isect::SIM_Isect ( const UT_Vector3 position,
const UT_Vector3 normal,
const SIM_Time time,
fpreal64  depth,
int  obj_a,
int  obj_b 
)
inline

Definition at line 122 of file SIM_Isect.h.

Member Function Documentation

bool SIM_Isect::isEdgeEdge ( ) const
inline

Definition at line 141 of file SIM_Isect.h.

bool SIM_Isect::isFaceVertex ( ) const
inline

Definition at line 134 of file SIM_Isect.h.

Member Data Documentation

fpreal64 SIM_Isect::myDepth

Depth of the intersection. The value is expected to be negative.

Definition at line 151 of file SIM_Isect.h.

UT_Vector3 SIM_Isect::myNormal

Direction object A needs to move to resolve the intersection.

Definition at line 154 of file SIM_Isect.h.

simIsectInfo SIM_Isect::myObjectInfoA

Information about the point of intersection on object A.

Definition at line 160 of file SIM_Isect.h.

simIsectInfo SIM_Isect::myObjectInfoB

Information about the point of intersection on object B.

Definition at line 163 of file SIM_Isect.h.

SIM_Time SIM_Isect::myTime

Time of intersection.

Definition at line 157 of file SIM_Isect.h.


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