second good build. Joints

This commit is contained in:
Aik-Siong Koh
2023-05-05 19:01:53 -06:00
parent 697aad4db9
commit d5ac041906
84 changed files with 1616 additions and 174 deletions

View File

@@ -1,6 +1,30 @@
#include "Joint.h"
MbD::Joint::Joint()
{
using namespace MbD;
Joint::Joint() {
initialize();
}
Joint::Joint(const char* str) : Item(str) {
initialize();
}
void Joint::initialize()
{
constraints = std::make_unique<std::vector<std::shared_ptr<Constraint>>>();
}
void Joint::connectsItoJ(std::shared_ptr<EndFramec> frmi, std::shared_ptr<EndFramec> frmj)
{
frmI = frmi;
frmJ = frmj;
}
void Joint::initializeLocally()
{
}
void Joint::initializeGlobally()
{
}