2 * Project Info: http://jcae.sourceforge.net
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)
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
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.
18 * (C) Copyright 2005, by EADS CRC
21 %{#include <BRepAlgoAPI_BooleanOperation.hxx>%}
22 %{#include <BRepAlgoAPI_Fuse.hxx>%}
23 %{#include <BRepAlgoAPI_Common.hxx>%}
24 %{#include <BRepAlgoAPI_Cut.hxx>%}
25 %{#include <BRepAlgoAPI_Section.hxx>%}
27 class BRepAlgoAPI_BooleanOperation: public BRepBuilderAPI_MakeShape
29 %rename(modified) Modified;
30 %rename(isDeleted) IsDeleted;
31 %rename(modified) Modified;
32 %rename(generated) Generated;
33 %rename(hasModified) HasModified;
34 %rename(hasGenerated) HasGenerated;
35 %rename(hasDeleted) HasDeleted;
36 BRepAlgoAPI_BooleanOperation()=0;
38 virtual const TopTools_ListOfShape& Modified(const TopoDS_Shape& aS) ;
39 virtual Standard_Boolean IsDeleted(const TopoDS_Shape& aS) ;
40 //virtual const TopTools_ListOfShape& Modified2(const TopoDS_Shape& aS) ;
41 virtual const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ;
42 virtual Standard_Boolean HasModified() const;
43 virtual Standard_Boolean HasGenerated() const;
44 virtual Standard_Boolean HasDeleted() const;
47 class BRepAlgoAPI_Fuse: public BRepAlgoAPI_BooleanOperation
50 BRepAlgoAPI_Fuse(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
53 class BRepAlgoAPI_Common: public BRepAlgoAPI_BooleanOperation
56 BRepAlgoAPI_Common(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
59 class BRepAlgoAPI_Cut: public BRepAlgoAPI_BooleanOperation
62 BRepAlgoAPI_Cut(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
65 class BRepAlgoAPI_Section: public BRepAlgoAPI_BooleanOperation
68 BRepAlgoAPI_Section(const TopoDS_Shape& S1,const TopoDS_Shape& S2);