File mechanics/src/collision/Contact2dR.hpp#

Go to the source code of this file

class Contact2dR : public Lagrangian2d2DR

Subclassed by Bullet2dR

Public Functions

inline Contact2dR()#
virtual ~Contact2dR() noexcept = default#
virtual void updateContactPointsInAbsoluteFrame(const SiconosVector &pos1, const SiconosVector &pos2, const SiconosVector &normal)

Update this contact point information.

Parameters:
  • pos1 – Position on ds1 in ds1 frame.

  • pos2 – Position on ds2 in ds2 frame (or world frame if ds2=null).

  • normal – Normal in ds2 frame (or world frame if ds2=null).

inline virtual void preDelete()#
ACCEPT_STD_VISITORS()#

Public Members

SP::BodyShapeRecord bodyShapeRecordA#
SP::BodyShapeRecord bodyShapeRecordB#

Private Functions

ACCEPT_SERIALIZATION(Contact2dR)#