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
114 returns DataMapOfShapeListOfShape from BOPCol;
115 ---C++: return const &
121 PerformInternal(me:out;
122 thePF: PaveFiller from BOPAlgo)
123 is virtual protected;
126 is redefined protected;
129 is virtual protected;
131 FillImagesVertices(me:out)
134 FillImagesEdges(me:out)
139 theType: ShapeEnum from TopAbs)
140 is virtual protected;
143 theS:Shape from TopoDS)
144 returns Boolean from Standard;
146 FillImagesContainers(me:out;
147 theType:ShapeEnum from TopAbs)
150 FillImagesCompounds(me:out)
153 FillImagesContainer(me:out;
154 theS:Shape from TopoDS;
155 theType:ShapeEnum from TopAbs)
158 FillImagesCompound(me:out;
159 theS:Shape from TopoDS;
160 theMF:out MapOfShape from BOPCol)
163 FillImagesFaces (me:out)
166 BuildSplitFaces (me:out)
167 is virtual protected;
169 FillSameDomainFaces (me:out)
172 FillImagesFaces1 (me:out)
175 FillInternalVertices(me:out;
176 theLF:out ListOfShape from BOPCol;
177 theLIV:out ListOfInteger from BOPCol)
182 FillImagesSolids(me:out)
185 BuildDraftSolid(me:out;
186 theSolid:Shape from TopoDS;
187 theDraftSolid:out Shape from TopoDS;
188 theLIF:out ListOfShape from BOPCol)
191 FillIn3DParts(me:out;
192 theInParts:out DataMapOfShapeListOfShape from BOPCol;
193 theDraftSolids:out DataMapOfShapeShape from BOPCol;
194 theAllocator:BaseAllocator from BOPCol)
195 is virtual protected;
197 BuildSplitSolids(me:out;
198 theInParts:out DataMapOfShapeListOfShape from BOPCol;
199 theDraftSolids:out DataMapOfShapeShape from BOPCol;
200 theAllocator:BaseAllocator from BOPCol)
204 theIndex:Integer from Standard;
205 theBox: out Box from Bnd)
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;