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

@@ -5,26 +5,44 @@
using namespace MbD;
Part::Part() {
initialize();
}
Part::Part(const char* str) : Item(str) {
initialize();
}
void Part::initialize()
{
partFrame = std::make_shared<PartFrame>();
partFrame->setPart(this);
}
void Part::setqX(FullColDptr x) {
partFrame.get()->setqX(x);
partFrame->setqX(x);
}
FullColDptr Part::getqX() {
return partFrame.get()->getqX();
return partFrame->getqX();
}
void Part::setqE(FullColDptr x) {
partFrame.get()->setqE(x);
partFrame->setqE(x);
}
FullColDptr Part::getqE() {
return partFrame.get()->getqE();
return partFrame->getqE();
}
void Part::setSystem(System& sys)
{
//May be needed in the future
}
void Part::initializeLocally()
{
}
void Part::initializeGlobally()
{
}