0024940: WOK: Cyclic dependency detected between: BOPInt IntTools
[occt.git] / src / BOPAlgo / BOPAlgo_BuilderArea.cdl
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
6 --
7 -- This file is part of Open CASCADE Technology software library.
8 --
9 -- This library is free software; you can redistribute it and/or modify it under
10 -- the terms of the GNU Lesser General Public License 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.
14 --
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
17
18 deferred class BuilderArea from BOPAlgo 
19      inherits Algo from BOPAlgo 
20   
21  ---Purpose: The root class for algorithms to build  
22      --          faces/solids from set of edges/faces  
23
24 uses 
25     Shape from TopoDS, 
26     BaseAllocator from BOPCol, 
27     ListOfShape from BOPCol,
28     MapOfOrientedShape from BOPCol, 
29     Context  from IntTools 
30     
31 --raises
32
33 is 
34     Initialize  
35      returns BuilderArea from BOPAlgo; 
36     ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_BuilderArea();"  
37      
38     Initialize(theAllocator: BaseAllocator from BOPCol)   
39      returns BuilderArea from BOPAlgo; 
40      
41     SetContext(me:out; 
42          theContext:Context from IntTools);  
43      
44     Shapes(me) 
45      returns ListOfShape from BOPCol;   
46     ---C++:  return const &   
47     ---C++: alias "Standard_EXPORT void SetShapes(const BOPCol_ListOfShape& theLS);"  
48     
49     Loops(me)  
50      returns ListOfShape from BOPCol; 
51     ---C++:  return const &   
52      
53     Areas(me) 
54      returns ListOfShape from BOPCol; 
55     ---C++:  return const &     
56      
57     PerformShapesToAvoid(me:out) 
58      is deferred protected; 
59   
60     PerformLoops(me:out) 
61      is deferred protected;  
62   
63     PerformAreas(me:out)   
64      is deferred protected;  
65
66     PerformInternalShapes(me:out)   
67      is deferred protected;  
68
69 fields  
70     myContext        :  Context from IntTools is protected; 
71     myShapes         :  ListOfShape from BOPCol is protected;  
72     myLoops          :  ListOfShape from BOPCol is protected;  
73     myLoopsInternal  :  ListOfShape from BOPCol is protected;
74     
75     myAreas          :  ListOfShape from BOPCol is protected;  
76     myShapesToAvoid  :  MapOfOrientedShape from BOPCol is protected;  
77  
78 end BuilderArea; 
79