1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2014 OPEN CASCADE SAS
3 -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 -- EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7 -- This file is part of Open CASCADE Technology software library.
9 -- This library is free software; you can redistribute it and / or modify it
10 -- under the terms of the GNU Lesser General Public version 2.1 as published
11 -- by the Free Software Foundation, with special exception defined in the file
12 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 -- distribution for complete text of the license and disclaimer of any warranty.
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
18 class Builder from BOPAlgo
19 inherits BuilderShape from BOPAlgo
25 ShapeEnum from TopAbs,
27 ListOfShape from TopTools,
29 BaseAllocator from BOPCol,
30 ListOfInteger from BOPCol,
31 ListOfShape from BOPCol,
32 MapOfShape from BOPCol,
33 DataMapOfShapeShape from BOPCol,
34 DataMapOfShapeListOfShape from BOPCol,
37 PaveFiller from BOPAlgo,
38 PPaveFiller from BOPAlgo
46 returns Builder from BOPAlgo;
47 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_Builder();"
49 Create (theAllocator: BaseAllocator from BOPCol)
50 returns Builder from BOPAlgo;
56 returns PPaveFiller from BOPAlgo;
59 returns PDS from BOPDS;
62 theShape: Shape from TopoDS)
66 returns ListOfShape from BOPCol;
67 ---C++: return const &
73 PerformWithFiller(me:out;
74 theFiller: PaveFiller from BOPAlgo)
80 PrepareHistory (me:out)
81 ---Purpose: Prepare information for history support
82 is redefined protected;
85 theS : Shape from TopoDS)
86 ---Purpose: Returns the list of shapes generated from the
88 returns ListOfShape from TopTools
90 ---C++: return const &
93 theS : Shape from TopoDS)
94 ---Purpose: Returns the list of shapes modified from the shape
96 returns ListOfShape from TopTools
98 ---C++: return const &
101 theS : Shape from TopoDS)
102 ---Purpose: Returns true if the shape theS has been deleted.
103 returns Boolean from Standard
106 SetRunParallel(me:out;
107 theFlag:Boolean from Standard);
108 ---Purpose: Set the flag of parallel processing
109 -- if <theFlag> is true the parallel processing is switched on
110 -- if <theFlag> is false the parallel processing is switched off
113 returns Boolean from Standard;
114 ---Purpose: Returns the flag of parallel processing
119 returns DataMapOfShapeListOfShape from BOPCol;
120 ---C++: return const &
126 PerformInternal(me:out;
127 thePF: PaveFiller from BOPAlgo)
128 is virtual protected;
131 is redefined protected;
134 is virtual protected;
136 FillImagesVertices(me:out)
139 FillImagesEdges(me:out)
144 theType: ShapeEnum from TopAbs)
145 is virtual protected;
148 theS:Shape from TopoDS)
149 returns Boolean from Standard;
151 FillImagesContainers(me:out;
152 theType:ShapeEnum from TopAbs)
155 FillImagesCompounds(me:out)
158 FillImagesContainer(me:out;
159 theS:Shape from TopoDS;
160 theType:ShapeEnum from TopAbs)
163 FillImagesCompound(me:out;
164 theS:Shape from TopoDS;
165 theMF:out MapOfShape from BOPCol)
168 FillImagesFaces (me:out)
171 BuildSplitFaces (me:out)
172 is virtual protected;
174 FillSameDomainFaces (me:out)
177 FillImagesFaces1 (me:out)
180 FillInternalVertices(me:out;
181 theLF:out ListOfShape from BOPCol;
182 theLIV:out ListOfInteger from BOPCol)
187 FillImagesSolids(me:out)
190 BuildDraftSolid(me:out;
191 theSolid:Shape from TopoDS;
192 theDraftSolid:out Shape from TopoDS;
193 theLIF:out ListOfShape from BOPCol)
196 FillIn3DParts(me:out;
197 theInParts:out DataMapOfShapeListOfShape from BOPCol;
198 theDraftSolids:out DataMapOfShapeShape from BOPCol;
199 theAllocator:BaseAllocator from BOPCol)
200 is virtual protected;
202 BuildSplitSolids(me:out;
203 theInParts:out DataMapOfShapeListOfShape from BOPCol;
204 theDraftSolids:out DataMapOfShapeShape from BOPCol;
205 theAllocator:BaseAllocator from BOPCol)
208 FillInternalShapes(me:out)
214 is virtual protected;
217 returns DataMapOfShapeShape from BOPCol;
218 ---C++: return const &
219 ---Purpose: Returns myOrigins.
222 returns DataMapOfShapeShape from BOPCol;
223 ---C++: return const &
224 ---Purpose: Returns myShapesSD.
227 returns DataMapOfShapeListOfShape from BOPCol;
228 ---C++: return const &
229 ---Purpose: Returns mySplits.
232 myArguments : ListOfShape from BOPCol is protected;
233 myMapFence : MapOfShape from BOPCol is protected;
234 myPaveFiller : PPaveFiller from BOPAlgo is protected;
235 myDS : PDS from BOPDS is protected;
236 myContext : Context from BOPInt is protected;
237 myEntryPoint : Integer from Standard is protected;
239 myImages : DataMapOfShapeListOfShape from BOPCol is protected;
240 myShapesSD : DataMapOfShapeShape from BOPCol is protected;
242 mySplits : DataMapOfShapeListOfShape from BOPCol is protected;
243 myOrigins : DataMapOfShapeShape from BOPCol is protected;
245 myRunParallel : Boolean from Standard is protected;