]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src/ShapeBuild.i
Merge "Allow property editing with just a single mouse click"
[simantics/3d.git] / org.jcae.opencascade / src / ShapeBuild.i
1 /*
2  * Project Info:  http://jcae.sourceforge.net
3  * 
4  * This program is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 2.1 of the License, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program; if not, write to the Free Software Foundation, Inc.,
16  * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17  *
18  * (C) Copyright 2007, by EADS France
19  */
20
21 %{#include <ShapeBuild_ReShape.hxx>%}
22
23 class ShapeBuild_ReShape
24 {
25         public:
26         
27         %rename(replace) Replace;
28         %rename(apply) Apply;
29
30         ShapeBuild_ReShape();
31         void Replace(const TopoDS_Shape& shape,const TopoDS_Shape& newshape) ;
32         TopoDS_Shape Apply(const TopoDS_Shape& shape,const TopAbs_ShapeEnum until = TopAbs_SHAPE) ;
33 };
34
35