1
/***************************************************************************
2
* Copyright (c) 2005 Werner Mayer <werner.wm.mayer@gmx.de> *
4
* This file is part of the FreeCAD CAx development system. *
6
* This library is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU Library General Public *
8
* License as published by the Free Software Foundation; either *
9
* version 2 of the License, or (at your option) any later version. *
11
* This library is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU Library General Public License for more details. *
16
* You should have received a copy of the GNU Library General Public *
17
* License along with this library; see the file COPYING.LIB. If not, *
18
* write to the Free Software Foundation, Inc., 59 Temple Place, *
19
* Suite 330, Boston, MA 02111-1307, USA *
21
***************************************************************************/
24
#ifndef FEATURE_MESH_SETOPERATIONS_H
25
#define FEATURE_MESH_SETOPERATIONS_H
27
#include <App/PropertyStandard.h>
29
#include "MeshFeature.h"
31
#include <App/PropertyLinks.h>
32
#include <App/PropertyGeo.h>
39
* Set Operations on meshes
40
* Operations so far: Intersections, Union, Difference
41
* @author Berthold Grupp
43
class SetOperations : public Mesh::Feature
45
PROPERTY_HEADER(Mesh::SetOperations);
50
App::PropertyLink Source1;
51
App::PropertyLink Source2;
52
App::PropertyString OperationType;
54
/** @name methods overide Feature */
56
/// recalculate the Feature
57
App::DocumentObjectExecReturn *execute(void);
58
short mustExecute() const;
64
#endif // FEATURE_MESH_SEGMENT_H