1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2012 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 -- The content of this file is subject to the Open CASCADE Technology Public
8 -- License Version 6.5 (the "License"). You may not use the content of this file
9 -- except in compliance with the License. Please obtain a copy of the License
10 -- at http://www.opencascade.org and read it completely before using this file.
12 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
13 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
15 -- The Original Code and all software distributed under the License is
16 -- distributed on an "AS IS" basis, without warranty of any kind, and the
17 -- Initial Developer hereby disclaims all such warranties, including without
18 -- limitation, any warranties of merchantability, fitness for a particular
19 -- purpose or non-infringement. Please see the License for the specific terms
20 -- and conditions governing the rights and limitations under the License.
22 class Builder from BOPAlgo
23 inherits BuilderShape from BOPAlgo
29 ShapeEnum from TopAbs,
31 ListOfShape from TopTools,
33 BaseAllocator from BOPCol,
34 ListOfInteger from BOPCol,
35 ListOfShape from BOPCol,
36 MapOfShape from BOPCol,
37 DataMapOfShapeShape from BOPCol,
38 DataMapOfShapeListOfShape from BOPCol,
41 PaveFiller from BOPAlgo,
42 PPaveFiller from BOPAlgo
50 returns Builder from BOPAlgo;
51 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_Builder();"
53 Create (theAllocator: BaseAllocator from BOPCol)
54 returns Builder from BOPAlgo;
60 returns PPaveFiller from BOPAlgo;
63 returns PDS from BOPDS;
66 theShape: Shape from TopoDS)
70 returns ListOfShape from BOPCol;
71 ---C++: return const &
77 PerformWithFiller(me:out;
78 theFiller: PaveFiller from BOPAlgo)
84 PrepareHistory (me:out)
85 ---Purpose: Prepare information for history support
86 is redefined protected;
89 theS : Shape from TopoDS)
90 ---Purpose: Returns the list of shapes generated from the
92 returns ListOfShape from TopTools
94 ---C++: return const &
97 theS : Shape from TopoDS)
98 ---Purpose: Returns the list of shapes modified from the shape
100 returns ListOfShape from TopTools
102 ---C++: return const &
105 theS : Shape from TopoDS)
106 ---Purpose: Returns true if the shape theS has been deleted.
107 returns Boolean from Standard
110 SetRunParallel(me:out;
111 theFlag:Boolean from Standard);
112 ---Purpose: Set the flag of parallel processing
113 -- if <theFlag> is true the parallel processing is switched on
114 -- if <theFlag> is false the parallel processing is switched off
117 returns Boolean from Standard;
118 ---Purpose: Returns the flag of parallel processing
123 returns DataMapOfShapeListOfShape from BOPCol;
124 ---C++: return const &
130 PerformInternal(me:out;
131 thePF: PaveFiller from BOPAlgo)
132 is virtual protected;
135 is redefined protected;
138 is virtual protected;
140 FillImagesVertices(me:out)
143 FillImagesEdges(me:out)
148 theType: ShapeEnum from TopAbs)
149 is virtual protected;
152 theS:Shape from TopoDS)
153 returns Boolean from Standard;
155 FillImagesContainers(me:out;
156 theType:ShapeEnum from TopAbs)
159 FillImagesCompounds(me:out)
162 FillImagesContainer(me:out;
163 theS:Shape from TopoDS;
164 theType:ShapeEnum from TopAbs)
167 FillImagesCompound(me:out;
168 theS:Shape from TopoDS;
169 theMF:out MapOfShape from BOPCol)
172 FillImagesFaces (me:out)
175 BuildSplitFaces (me:out)
176 is virtual protected;
178 FillSameDomainFaces (me:out)
181 FillImagesFaces1 (me:out)
184 FillInternalVertices(me:out;
185 theLF:out ListOfShape from BOPCol;
186 theLIV:out ListOfInteger from BOPCol)
191 FillImagesSolids(me:out)
194 BuildDraftSolid(me:out;
195 theSolid:Shape from TopoDS;
196 theDraftSolid:out Shape from TopoDS;
197 theLIF:out ListOfShape from BOPCol)
200 FillIn3DParts(me:out;
201 theInParts:out DataMapOfShapeListOfShape from BOPCol;
202 theDraftSolids:out DataMapOfShapeShape from BOPCol;
203 theAllocator:BaseAllocator from BOPCol)
204 is virtual protected;
206 BuildSplitSolids(me:out;
207 theInParts:out DataMapOfShapeListOfShape from BOPCol;
208 theDraftSolids:out DataMapOfShapeShape from BOPCol;
209 theAllocator:BaseAllocator from BOPCol)
213 theIndex:Integer from Standard;
214 theBox: out Box from Bnd)
217 FillInternalShapes(me:out)
223 is virtual protected;
226 returns DataMapOfShapeShape from BOPCol;
227 ---C++: return const &
228 ---Purpose: Returns myOrigins.
231 returns DataMapOfShapeShape from BOPCol;
232 ---C++: return const &
233 ---Purpose: Returns myShapesSD.
236 returns DataMapOfShapeListOfShape from BOPCol;
237 ---C++: return const &
238 ---Purpose: Returns mySplits.
241 myArguments : ListOfShape from BOPCol is protected;
242 myMapFence : MapOfShape from BOPCol is protected;
243 myPaveFiller : PPaveFiller from BOPAlgo is protected;
244 myDS : PDS from BOPDS is protected;
245 myContext : Context from BOPInt is protected;
246 myEntryPoint : Integer from Standard is protected;
248 myImages : DataMapOfShapeListOfShape from BOPCol is protected;
249 myShapesSD : DataMapOfShapeShape from BOPCol is protected;
251 mySplits : DataMapOfShapeListOfShape from BOPCol is protected;
252 myOrigins : DataMapOfShapeShape from BOPCol is protected;
254 myRunParallel : Boolean from Standard is protected;