template<class Ta, class Tb>
class chrono::ChContactTuple< Ta, Tb >
Base class for contact between two generic ChContactable objects.
T1 and T2 are of ChContactable sub classes.
|
| ChContactTuple (ChContactContainer *contact_container, Ta *obj_A, Tb *obj_B) |
|
void | Reset_cinfo (Ta *obj_A, Tb *obj_B, const ChCollisionInfo &cinfo) |
| Reinitialize geometric information for this contact for reuse. More...
|
|
Ta * | GetObjA () |
| Get the colliding object A, with point P1.
|
|
Tb * | GetObjB () |
| Get the colliding object B, with point P2.
|
|
ChCoordsys | GetContactCoords () const |
| Get the contact coordinate system, expressed in absolute frame. More...
|
|
const ChMatrix33 & | GetContactPlane () const |
| Returns the pointer to a contained 3x3 matrix representing the UV and normal directions of the contact. More...
|
|
const ChVector3d & | GetContactP1 () const |
| Get the contact point 1, in absolute coordinates.
|
|
const ChVector3d & | GetContactP2 () const |
| Get the contact point 2, in absolute coordinates.
|
|
const ChVector3d & | GetContactNormal () const |
| Get the contact normal, in absolute coordinates.
|
|
double | GetContactDistance () const |
| Get the contact distance.
|
|
double | GetEffectiveCurvatureRadius () const |
| Get the effective radius of curvature.
|
|
virtual ChVector3d | GetContactForce () const |
| Get the contact force, if computed, in contact coordinate system.
|
|
virtual ChVector3d | GetContactTorque () const |
| Get the contact torque, if computed, in contact coordinate system.
|
|
virtual void | ContIntStateGatherReactions (const unsigned int off_L, ChVectorDynamic<> &L) |
|
virtual void | ContIntStateScatterReactions (const unsigned int off_L, const ChVectorDynamic<> &L) |
|
virtual void | ContIntLoadResidual_CqL (const unsigned int off_L, ChVectorDynamic<> &R, const ChVectorDynamic<> &L, const double c) |
|
virtual void | ContIntLoadConstraint_C (const unsigned int off_L, ChVectorDynamic<> &Qc, const double c, bool do_clamp, double recovery_clamp) |
|
virtual void | ContIntLoadResidual_F (ChVectorDynamic<> &R, const double c) |
|
virtual void | ContInjectKRMmatrices (ChSystemDescriptor &mdescriptor) |
|
virtual void | ContKRMmatricesLoad (double Kfactor, double Rfactor) |
|
virtual void | ContIntToDescriptor (const unsigned int off_L, const ChVectorDynamic<> &L, const ChVectorDynamic<> &Qc) |
|
virtual void | ContIntFromDescriptor (const unsigned int off_L, ChVectorDynamic<> &L) |
|
virtual void | InjectConstraints (ChSystemDescriptor &descriptor) |
|
virtual void | ConstraintsBiReset () |
|
virtual void | ConstraintsBiLoad_C (double factor=1., double recovery_clamp=0.1, bool do_clamp=false) |
|
virtual void | ConstraintsFetch_react (double factor) |
|