Change the project name from MbDCode to OndselSolver.
This commit is contained in:
33
OndselSolver/PointInLineJoint.cpp
Normal file
33
OndselSolver/PointInLineJoint.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2023 Ondsel, Inc. *
|
||||
* *
|
||||
* This file is part of OndselSolver. *
|
||||
* *
|
||||
* See LICENSE file for details about copyright. *
|
||||
***************************************************************************/
|
||||
|
||||
#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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user