规范模块目录和第三方依赖结构
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "CrankRockingBlockMechanism_Forward.h"
|
||||
#include "FourBarMechanism/CrankRockingBlockMechanism_Forward.h"
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
@@ -477,4 +477,4 @@ string CrankRockingBlockMechanism_Forward::formatDouble(double value, int precis
|
||||
char buffer[32];
|
||||
snprintf(buffer, sizeof(buffer), "%.*f", precision, value);
|
||||
return string(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "CrankRockingBlockMechanism_Inverse.h"
|
||||
#include "FourBarMechanism/CrankRockingBlockMechanism_Inverse.h"
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
@@ -258,4 +258,4 @@ string CrankRockingBlockMechanism_Inverse::getStatusText()
|
||||
trajectoryPoints.size());
|
||||
|
||||
return string(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// mechanism_simulation.cpp
|
||||
#include "CrankSliderMechanism.h"
|
||||
#include "FourBarMechanism/CrankSliderMechanism.h"
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
@@ -471,4 +471,4 @@ void deleteCrankSliderMechanism(CrankSliderMechanism *mechanism)
|
||||
CrankSliderMechanismPtr createCrankSliderMechanismSmart()
|
||||
{
|
||||
return std::make_shared<CrankSliderMechanism>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FourBarMechanism.cpp
|
||||
#include "FourBarMechanism.h"
|
||||
#include "FourBarMechanism/FourBarMechanism.h"
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
@@ -326,4 +326,4 @@ void deleteFourBarMechanism(FourBarMechanism *mechanism)
|
||||
FourBarMechanismPtr createFourBarMechanismSmart()
|
||||
{
|
||||
return std::make_shared<FourBarMechanism>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SliderCrankMechanism.cpp
|
||||
#include "SliderCrankMechanism.h"
|
||||
#include "FourBarMechanism/SliderCrankMechanism.h"
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
@@ -371,4 +371,4 @@ void deleteSliderCrankMechanism(SliderCrankMechanism *mechanism)
|
||||
SliderCrankMechanismPtr createSliderCrankMechanismSmart()
|
||||
{
|
||||
return std::make_shared<SliderCrankMechanism>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user