0021762: Integration of new Boolean Operation algorithm to OCCT.
[occt.git] / src / BOPAlgo / BOPAlgo_WireSplitter.cdl
1 -- Created by: Peter KURNEV
2 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
3 --
4 -- The content of this file is subject to the Open CASCADE Technology Public
5 -- License Version 6.5 (the "License"). You may not use the content of this file
6 -- except in compliance with the License. Please obtain a copy of the License
7 -- at http://www.opencascade.org and read it completely before using this file.
8 --
9 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
10 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
11 --
12 -- The Original Code and all software distributed under the License is
13 -- distributed on an "AS IS" basis, without warranty of any kind, and the
14 -- Initial Developer hereby disclaims all such warranties, including without
15 -- limitation, any warranties of merchantability, fitness for a particular
16 -- purpose or non-infringement. Please see the License for the specific terms
17 -- and conditions governing the rights and limitations under the License.
18
19 class WireSplitter from BOPAlgo 
20         inherits Algo from BOPAlgo 
21          
22         ---Purpose: 
23
24 uses   
25     Wire from TopoDS, 
26     BaseAllocator from BOPCol, 
27     ListOfShape from BOPCol, 
28     WireEdgeSet from BOPAlgo,
29     PWireEdgeSet from BOPAlgo, 
30     ConnexityBlock from BOPTools, 
31     ListOfConnexityBlock from BOPTools 
32     
33     
34 --raises
35
36 is 
37     Create 
38         returns WireSplitter from BOPAlgo; 
39     ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_WireSplitter();" 
40      
41     Create(theAllocator: BaseAllocator from BOPCol)  
42         returns WireSplitter from BOPAlgo; 
43      
44     SetWES(me:out; 
45             theWES: WireEdgeSet from BOPAlgo);  
46     
47     
48     WES(me:out) 
49         returns WireEdgeSet from BOPAlgo; 
50     ---C++:  return &  
51
52     Perform(me:out) 
53         is redefined; 
54          
55     MakeWire(myclass; 
56             theLE:out ListOfShape from BOPCol; 
57             theW :out Wire from TopoDS);  
58     ---C++: inline 
59      
60     CheckData(me:out) 
61         is redefined protected;    
62         
63     MakeConnexityBlocks(me:out)  
64         is protected;  
65      
66     MakeWires(me:out)  
67         is protected;  
68          
69     SplitBlock(me:out; 
70             theCB:out ConnexityBlock from BOPTools)  
71         is protected; 
72     
73 fields 
74     myWES   : PWireEdgeSet from BOPAlgo is protected;
75     myLCB   : ListOfConnexityBlock from BOPTools is protected; 
76     
77 end WireSplitter;