fbc5bc45bbbba273de283d6d0965e86631a62932
[occt.git] / src / BOPAlgo / BOPAlgo_WireEdgeSet.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
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.
14 --
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
17
18 class WireEdgeSet from BOPAlgo 
19
20         ---Purpose: 
21
22 uses
23     Face   from TopoDS, 
24     Shape  from TopoDS, 
25     ListOfShape from BOPCol,
26     BaseAllocator from BOPCol 
27     
28 --raises
29
30 is 
31     Create   
32         returns WireEdgeSet from BOPAlgo;  
33     ---C++: inline  
34     ---C++: alias " virtual ~BOPAlgo_WireEdgeSet();"  
35      
36     Create (theAllocator: BaseAllocator from BOPCol)   
37         returns WireEdgeSet from BOPAlgo;   
38     ---C++: inline  
39      
40     Clear(me:out);
41     ---C++: inline   
42  
43     SetFace(me:out; 
44             aF:Face from TopoDS); 
45     ---C++: inline        
46     
47     Face(me) 
48          returns Face from TopoDS; 
49     ---C++: return const &  
50     ---C++: inline    
51     
52     AddStartElement(me:out; 
53             sS: Shape from TopoDS);  
54     ---C++: inline       
55     
56     StartElements(me)  
57         returns ListOfShape from BOPCol;
58     ---C++: return const & 
59     ---C++: inline   
60     
61     AddShape(me:out; 
62             sS:Shape from TopoDS); 
63     ---C++: inline        
64     
65     Shapes(me)  
66         returns ListOfShape from BOPCol;
67     ---C++: return const & 
68     ---C++: inline   
69     
70 fields
71     myFace         : Face from TopoDS is protected; 
72     myStartShapes  : ListOfShape from BOPCol is protected;
73     myShapes       : ListOfShape from BOPCol is protected;  
74
75 end WireEdgeSet;