PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::TContactPair< Real > Class Template Reference

#include <CollisionData.h>

Collaboration diagram for dyno::TContactPair< Real >:

Public Member Functions

DYN_FUNC TContactPair ()
 
DYN_FUNC TContactPair (int a, int b, ContactType type, Vector< Real, 3 > p1, Vector< Real, 3 > p2, Vector< Real, 3 > n1, Vector< Real, 3 > n2)
 

Public Attributes

int bodyId1
 
int bodyId2
 
int localId1
 
int localId2
 
Real interpenetration = 0.0f
 
Vector< Real, 3 > pos1
 
Vector< Real, 3 > pos2
 
Vector< Real, 3 > normal1
 
Vector< Real, 3 > normal2
 
ContactType contactType
 

Detailed Description

template<typename Real>
class dyno::TContactPair< Real >

Definition at line 179 of file CollisionData.h.

Constructor & Destructor Documentation

◆ TContactPair() [1/2]

template<typename Real>
DYN_FUNC dyno::TContactPair< Real >::TContactPair ( )
inline

Definition at line 182 of file CollisionData.h.

◆ TContactPair() [2/2]

template<typename Real>
DYN_FUNC dyno::TContactPair< Real >::TContactPair ( int a,
int b,
ContactType type,
Vector< Real, 3 > p1,
Vector< Real, 3 > p2,
Vector< Real, 3 > n1,
Vector< Real, 3 > n2 )
inline

Definition at line 188 of file CollisionData.h.

Member Data Documentation

◆ bodyId1

template<typename Real>
int dyno::TContactPair< Real >::bodyId1

Definition at line 206 of file CollisionData.h.

◆ bodyId2

template<typename Real>
int dyno::TContactPair< Real >::bodyId2

Definition at line 207 of file CollisionData.h.

◆ contactType

template<typename Real>
ContactType dyno::TContactPair< Real >::contactType

Definition at line 223 of file CollisionData.h.

◆ interpenetration

template<typename Real>
Real dyno::TContactPair< Real >::interpenetration = 0.0f

Definition at line 215 of file CollisionData.h.

◆ localId1

template<typename Real>
int dyno::TContactPair< Real >::localId1

Definition at line 209 of file CollisionData.h.

◆ localId2

template<typename Real>
int dyno::TContactPair< Real >::localId2

Definition at line 210 of file CollisionData.h.

◆ normal1

template<typename Real>
Vector<Real, 3> dyno::TContactPair< Real >::normal1

Definition at line 220 of file CollisionData.h.

◆ normal2

template<typename Real>
Vector<Real, 3> dyno::TContactPair< Real >::normal2

Definition at line 221 of file CollisionData.h.

◆ pos1

template<typename Real>
Vector<Real, 3> dyno::TContactPair< Real >::pos1

Definition at line 217 of file CollisionData.h.

◆ pos2

template<typename Real>
Vector<Real, 3> dyno::TContactPair< Real >::pos2

Definition at line 218 of file CollisionData.h.


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