Files
solver/MbDCode/InPlaneJoint.cpp

18 lines
330 B
C++

#include "InPlaneJoint.h"
#include "CREATE.h"
MbD::InPlaneJoint::InPlaneJoint()
{
}
MbD::InPlaneJoint::InPlaneJoint(const char* str)
{
}
void MbD::InPlaneJoint::createInPlaneConstraint()
{
auto tranCon = CREATE<TranslationConstraintIJ>::ConstraintWith(frmI, frmJ, 2);
tranCon->setConstant(offset);
addConstraint(tranCon);
}