Salome HOME
0021209: Bug GetInPlace with faces. Integrate self-intersections checker.
[modules/geom.git] / src / NMTDS / NMTDS_PassKeyShape.cdl
1 -- Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 -- This library is free software; you can redistribute it and/or
4 -- modify it under the terms of the GNU Lesser General Public
5 -- License as published by the Free Software Foundation; either
6 -- version 2.1 of the License.
7 --
8 -- This library is distributed in the hope that it will be useful,
9 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
10 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 -- Lesser General Public License for more details.
12 --
13 -- You should have received a copy of the GNU Lesser General Public
14 -- License along with this library; if not, write to the Free Software
15 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 --
17 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 --
19
20 --  File:       NMTDS_PassKeyShape.cdl
21 --  Created:    
22 --  Author:     Peter KURNEV
23 --
24 class PassKeyShape from NMTDS 
25    
26         ---Purpose: 
27
28 uses
29     Shape from TopoDS, 
30     ListOfShape from TopTools,   
31     IndexedMapOfShape from TopTools 
32      
33 --raises
34
35 is 
36     Create  
37         returns PassKeyShape from NMTDS; 
38      ---C++: alias "Standard_EXPORT virtual ~NMTDS_PassKeyShape();" 
39      
40     Create(Other:PassKeyShape from NMTDS) 
41         returns PassKeyShape from NMTDS;
42      
43     Assign(me:out;  
44             Other : PassKeyShape from NMTDS) 
45         returns PassKeyShape from NMTDS; 
46     ---C++: alias operator =
47     ---C++: return &  
48      
49     SetShapes(me:out; 
50             aS  :Shape from TopoDS); 
51             
52     SetShapes(me:out; 
53             aS1  :Shape from TopoDS; 
54             aS2  :Shape from TopoDS); 
55      
56     SetShapes(me:out; 
57             aS1  :Shape from TopoDS; 
58             aS2  :Shape from TopoDS; 
59             aS3  :Shape from TopoDS); 
60  
61     SetShapes(me:out;  
62             aS1  :Shape from TopoDS; 
63             aS2  :Shape from TopoDS; 
64             aS3  :Shape from TopoDS;
65             aS4  :Shape from TopoDS);
66  
67     SetShapes(me:out;  
68             aLS  :ListOfShape from TopTools); 
69          
70     Clear(me:out); 
71      
72
73     NbIds(me) 
74         returns Integer  from Standard; 
75      
76     IsEqual(me; 
77             aOther:PassKeyShape from NMTDS) 
78         returns Boolean from Standard;                       
79          
80     HashCode(me; 
81             Upper : Integer  from Standard)  
82         returns Integer from Standard;           
83      
84     Dump(me; 
85         aHex:Integer from Standard=0);  
86         
87 fields 
88     myNbIds:Integer from Standard is protected;    
89     mySum  :Integer from Standard is protected;    
90     myUpper:Integer from Standard is protected;    
91     myMap  :IndexedMapOfShape from TopTools is protected;        
92
93 end PassKeyShape;