SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::constraintset::ContactDescription Struct Reference

#include <ContactDescription.h>

Detailed Description

ContactDescription is a class providing precise information about the state of a contact A contact can be in 3 different states: vanishing, sticking, sliding with this states, we can solve precisely a contact, knowning its state, and the direction of the response

Public Attributes

ContactState state
 
SReal coeff [3]
 

Attribute details

SReal sofa::component::constraintset::ContactDescription::coeff[3]

When the contact is sliding, we have to know the direction of the reponse force. coeff is the linear combination of the normal, and two tangent constraint directions.

ContactState sofa::component::constraintset::ContactDescription::state

State of the contact

See also
ContactState