compiles on openSUSE 15.4 part 2
[engrid-github.git] / src / libengrid / snaptofeatures.h
blob27dc2d849f0048d0497ebdf2e046b64d7da303de
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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 #ifndef SNAPTOFEATURES_H
23 #define SNAPTOFEATURES_H
25 class SnapToFeatures;
27 #include "surfaceoperation.h"
28 #include "cadinterface.h"
30 class SnapToFeatures : public SurfaceOperation
33 private: // attributes
35 QVector<bool> m_NodeSnapped;
36 int m_NodesToSnap;
39 private: // methods
41 void snapIteration();
44 protected: // methods
46 virtual void operate();
49 public:
51 SnapToFeatures();
55 #endif // SNAPTOFEATURES_H