Salome HOME
5971991f61e2a6432a0633fa8c8f230c0c22b607
[modules/geom.git] / NMTTools_CommonBlock.cdl
1 -- File:        NMTTools_CommonBlock.cdl
2 -- Created:     Tue Dec  9 12:11:48 2003
3 -- Author:      Peter KURNEV
4 --              <pkv@irinox>
5 ---Copyright:    Matra Datavision 2003
6
7
8 class CommonBlock from NMTTools 
9
10         ---Purpose: 
11
12 uses 
13     ListOfInteger   from TColStd, 
14     PaveBlock       from BOPTools,
15     ListOfPaveBlock from BOPTools
16
17 --raises
18
19 is 
20     Create 
21         returns CommonBlock from NMTTools; 
22          
23     AddPaveBlock(me:out; 
24             aPB : PaveBlock from BOPTools); 
25              
26     AddFace(me:out; 
27             aF : Integer from Standard); 
28          
29     AddFaces(me:out; 
30             aLF:  ListOfInteger from TColStd);    
31              
32     PaveBlocks(me) 
33         returns ListOfPaveBlock from BOPTools; 
34     ---C++:  return const &  
35     
36     Faces (me) 
37         returns ListOfInteger from TColStd; 
38     ---C++:  return const &  
39      
40     PaveBlock1  (me) 
41         returns  PaveBlock from BOPTools; 
42     ---C++:  return const &     
43          
44     PaveBlock1  (me:out; 
45             anIx: Integer from Standard) 
46         returns  PaveBlock from BOPTools; 
47     ---C++:  return & 
48      
49     PaveBlockOnEdge  (me:out;  
50             anIndex: Integer from Standard) 
51         returns  PaveBlock from BOPTools; 
52     ---C++:  return  &    
53      
54     IsPaveBlockOnFace  (me;  
55             anIndex: Integer from Standard) 
56         returns  Boolean from Standard; 
57      
58     IsPaveBlockOnEdge  (me;  
59             anIndex: Integer from Standard) 
60         returns  Boolean from Standard;   
61         
62     IsEqual  (me; 
63             aCB:CommonBlock from NMTTools) 
64         returns Boolean from Standard; 
65          
66     Contains(me; 
67             aPB:PaveBlock from BOPTools) 
68         returns  Boolean from Standard; 
69          
70 --    SetEdge (me:out;   
71 --          anEdge:Integer from Standard);  
72
73 --    Edge (me) 
74 --      returns Integer from Standard;  
75
76 fields 
77     myPaveBlocks: ListOfPaveBlock from BOPTools is protected;  
78     myFaces     : ListOfInteger   from TColStd  is protected;  
79             
80 end CommonBlock;
81
82
83
84
85
86
87
88