Files
solver/MbDCode/PointInLineJoint.cpp
2023-07-16 22:00:07 -06:00

26 lines
419 B
C++

#include "PointInLineJoint.h"
#include "CREATE.h"
#include "System.h"
using namespace MbD;
MbD::PointInLineJoint::PointInLineJoint()
{
}
MbD::PointInLineJoint::PointInLineJoint(const char* str) : InLineJoint(str)
{
}
void MbD::PointInLineJoint::initializeGlobally()
{
if (constraints->empty())
{
createInLineConstraints();
this->root()->hasChanged = true;
}
else {
InLineJoint::initializeGlobally();
}
}