[FEM] Contact and Displacement: remove unused headers

This commit is contained in:
Uwe
2022-03-17 03:46:41 +01:00
parent 23fa6ebaa9
commit dd0d2686b9
2 changed files with 12 additions and 20 deletions

View File

@@ -42,16 +42,13 @@
# include <sstream>
#endif
#include <Gui/Command.h>
#include <Gui/SelectionObject.h>
#include "Mod/Fem/App/FemConstraintContact.h"
#include <Mod/Part/App/PartFeature.h>
#include "TaskFemConstraintContact.h"
#include "ui_TaskFemConstraintContact.h"
#include <App/Application.h>
#include <Base/Tools.h>
#include <Gui/Command.h>
#include <Gui/Selection.h>
#include <Gui/SelectionFilter.h>
#include <Gui/SelectionObject.h>
#include <Mod/Part/App/PartFeature.h>
using namespace FemGui;
@@ -93,13 +90,13 @@ TaskFemConstraintContact::TaskFemConstraintContact(ViewProviderFemConstraintCont
std::vector<App::DocumentObject*> Objects = pcConstraint->References.getValues();
std::vector<std::string> SubElements = pcConstraint->References.getSubValues();
double S = pcConstraint->Slope.getValue();
double F = pcConstraint->Friction.getValue();
double slope = pcConstraint->Slope.getValue();
double friction = pcConstraint->Friction.getValue();
// Fill data into dialog elements
ui->spSlope->setMinimum(1.0);
ui->spSlope->setValue(S);
ui->spFriction->setValue(F);
ui->spSlope->setValue(slope);
ui->spFriction->setValue(friction);
/* */

View File

@@ -45,17 +45,12 @@
# include <sstream>
#endif
#include "Mod/Fem/App/FemConstraintDisplacement.h"
#include <Gui/Command.h>
#include <Gui/SelectionObject.h>
#include <Mod/Fem/App/FemConstraintDisplacement.h>
#include "TaskFemConstraintDisplacement.h"
#include "ui_TaskFemConstraintDisplacement.h"
#include <App/Application.h>
#include <Base/Tools.h>
#include <Gui/Command.h>
#include <Gui/Selection.h>
#include <Gui/SelectionFilter.h>
#include <Gui/SelectionObject.h>
#include <Mod/Part/App/PartFeature.h>
#include <Mod/PartDesign/Gui/ReferenceSelection.h>
using namespace FemGui;