RobWorkProject  23.9.11-
Public Member Functions | List of all members
GuendelContactModel Class Reference

Inherits ContactModel.

Public Member Functions

 GuendelContactModel (double colRestCoeff, double conRestCoeff)
 constructor More...
 
virtual ~GuendelContactModel ()
 destructor
 
virtual void preImpulseCalc (Contact &contact, ContactPoint &point)
 this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
 
virtual void calcCollisionImpulse (Contact &contact, ContactPoint &point, double &nimpulse, double &timpulse)
 this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
 
virtual void calcContactImpulse (Contact &contact, ContactPoint &point, double &nimpulse, double &timpulse)
 this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
 
virtual void addImpulse (Contact &contact, ContactPoint &point, double nimpulse, double timpulse)
 this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times. More...
 

Constructor & Destructor Documentation

◆ GuendelContactModel()

GuendelContactModel ( double  colRestCoeff,
double  conRestCoeff 
)
inline

constructor

Parameters
colRestCoeff[in] the restitution coefficient of collisions
conRestCoeff[in] the restitution coefficient of contacts

Member Function Documentation

◆ addImpulse()

virtual void addImpulse ( Contact contact,
ContactPoint &  point,
double  nimpulse,
double  timpulse 
)
virtual

this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.

◆ calcCollisionImpulse()

virtual void calcCollisionImpulse ( Contact contact,
ContactPoint &  point,
double &  nimpulse,
double &  timpulse 
)
virtual

this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.

◆ calcContactImpulse()

virtual void calcContactImpulse ( Contact contact,
ContactPoint &  point,
double &  nimpulse,
double &  timpulse 
)
virtual

this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.

◆ preImpulseCalc()

virtual void preImpulseCalc ( Contact contact,
ContactPoint &  point 
)
virtual

this call will be made prior to any other calls in a timestep. It is meant to be a function that caches aux variables that can be used when calling add*Impulses multiple times.


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