9 #include "imstkPbdCollisionConstraint.h" 10 #include "imstkRbdConstraint.h" 12 using namespace imstk;
29 const Vec2d& threadBaryPoint,
33 const Vec3d& triBaryPoint,
37 bool computeValueAndGradient(
PbdState& bodies,
38 double& c, std::vector<Vec3d>& dcdx)
override;
42 Vec3d m_triangleBaryPt;
43 Vec3d m_triInsertionPoint;
44 Vec3d m_threadInsertionPoint;
The PbdCollisionConstraint implements two sided collision. This allows the usage of differing stiffne...
std::pair< int, int > PbdParticleId
Index pair that refers to a particle in a PbdState. Index 0 is the body id, Index 1 is the particle i...
Constrains an point on a line mesh to a PBD surface mesh.
Provides interface for accessing particles from a 2d array of PbdBody,Particles.