OndselSolver can read and write *.asmt files

This commit is contained in:
Aik-Siong Koh
2023-10-19 10:51:51 -06:00
parent 95cd91c9d1
commit 4360daddf3
61 changed files with 1383 additions and 107 deletions

View File

@@ -5,7 +5,7 @@
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include "ASMTRefPoint.h"
#include "ASMTMarker.h"
#include "CREATE.h"
@@ -30,3 +30,13 @@ void MbD::ASMTRefPoint::createMbD(std::shared_ptr<System> mbdSys, std::shared_pt
marker->createMbD(mbdSys, mbdUnits);
}
}
void MbD::ASMTRefPoint::storeOnLevel(std::ofstream& os, int level)
{
storeOnLevelString(os, level, "RefPoint");
ASMTSpatialItem::storeOnLevel(os, level);
storeOnLevelString(os, level + 1, "Markers");
for (auto& marker : *markers) {
marker->storeOnLevel(os, level + 2);
}
}