Mb dyn half sine and cosine (#42)

* (int) added

* size_t count

* add files

* MBDyn new joints, sine, cosine

* CompoundJoints debugged
This commit is contained in:
aiksiongkoh
2023-12-13 07:52:16 -07:00
committed by GitHub
parent 87ed8700e2
commit de8759384c
101 changed files with 7993 additions and 625 deletions

View File

@@ -94,6 +94,14 @@ double MbD::PiecewiseFunction::getValue()
return functions->back()->getValue();
}
void MbD::PiecewiseFunction::arguments(Symsptr args)
{
auto arguments = args->getTerms();
xx = arguments->at(0);
functions = arguments->at(1)->getTerms();
transitions = arguments->at(2)->getTerms();
}
std::ostream& MbD::PiecewiseFunction::printOn(std::ostream& s) const
{
s << "PiecewiseFunction(" << *xx << ", " << std::endl;