compiles on openSUSE 15.4 part 2
[engrid-github.git] / src / libengrid / fixcadgeometry.h
blob435e847b5851d316a95a198a1a46fc0268c85d3c
1 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 // + +
3 // + This file is part of enGrid. +
4 // + +
5 // + Copyright 2008-2014 enGits GmbH +
6 // + +
7 // + enGrid is free software: you can redistribute it and/or modify +
8 // + it under the terms of the GNU General Public License as published by +
9 // + the Free Software Foundation, either version 3 of the License, or +
10 // + (at your option) any later version. +
11 // + +
12 // + enGrid is distributed in the hope that it will be useful, +
13 // + but WITHOUT ANY WARRANTY; without even the implied warranty of +
14 // + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
15 // + GNU General Public License for more details. +
16 // + +
17 // + You should have received a copy of the GNU General Public License +
18 // + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
19 // + +
20 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 #ifndef FIXCADGEOMETRY_H
22 #define FIXCADGEOMETRY_H
24 #include "surfacealgorithm.h"
26 class FixCadGeometry: public SurfaceAlgorithm
29 private: // attributes
31 int m_NumNonManifold;
32 double m_OriginalFeatureAngle;
34 protected: // methods
36 void customUpdateNodeInfo();
37 void callMesher();
38 void setDesiredLength(double L = 1e99);
39 void copyFaces(const QVector<bool> &copy_face);
40 void fixNonManifold1();
41 void fixNonManifold2();
42 void markNonManifold();
44 virtual void operate();
46 public: // methods
48 FixCadGeometry();
52 #endif