Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_Gluer.cdl
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 -- File:        GEOMAlgo_Gluer.cdl
21 -- Created:     Sat Dec 04 12:41:32 2004
22 -- Author:      Peter KURNEV
23 --              <peter@PREFEX>
24 ---Copyright:    Matra Datavision 2004
25
26
27 class Gluer from GEOMAlgo  
28     inherits ShapeAlgo from GEOMAlgo
29
30         ---Purpose: 
31
32 uses 
33     ShapeEnum from TopAbs,
34     Shape from TopoDS,  
35     Edge from TopoDS, 
36     Face from TopoDS, 
37     Vertex from TopoDS, 
38     ListOfShape from TopTools,
39     DataMapOfShapeShape from TopTools,
40     DataMapOfShapeListOfShape from TopTools, 
41     Context from IntTools, 
42     PassKeyShape from GEOMAlgo
43
44 --raises
45
46 is 
47     Create   
48         returns Gluer from GEOMAlgo; 
49     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Gluer();" 
50      
51     SetCheckGeometry (me:out; 
52             aFlag:Boolean from Standard); 
53              
54     CheckGeometry (me) 
55         returns Boolean from Standard; 
56   
57     Perform(me:out) 
58         is redefined;   
59         
60     AloneShapes(me) 
61          returns Integer from Standard;     
62
63     --modified by NIZNHY-PKV Fri Jan 21 14:16:58 2005f-
64     Modified(me:out;  
65             S : Shape from TopoDS) 
66         returns ListOfShape from TopTools;
67     ---C++: return const & 
68    
69     Generated(me:out;  
70             S : Shape from TopoDS) 
71         returns ListOfShape from TopTools;
72     ---C++: return const & 
73
74     IsDeleted (me:out;  
75             S : Shape from TopoDS)
76        returns Boolean from Standard; 
77     --modified by NIZNHY-PKV Fri Jan 21 14:17:04 2005t  
78
79     CheckData(me:out) 
80         is redefined protected; 
81          
82     CheckResult (me:out) 
83         is redefined protected; 
84          
85     MakeVertices(me:out) 
86         is protected;   
87   
88     MakeEdges(me:out) 
89         is protected; 
90      
91     MakeFaces(me:out) 
92         is protected;
93      
94     MakeShapes(me:out; 
95             aType:ShapeEnum from TopAbs) 
96         is protected;  
97      
98     MakeShells(me:out) 
99         is protected;
100       
101     MakeSolids(me:out) 
102         is protected; 
103          
104     InnerTolerance(me:out) 
105         is protected;
106  
107     EdgePassKey(me:out; 
108             aE:Edge from TopoDS;  
109             aPK:out PassKeyShape from GEOMAlgo) 
110         is protected;     
111    
112     FacePassKey(me:out; 
113             aF:Face from TopoDS;  
114             aPK:out PassKeyShape from GEOMAlgo) 
115         is protected; 
116          
117     MakeVertex(me:out; 
118             aLV   : ListOfShape from TopTools;  
119             aNewV: out Vertex from TopoDS) 
120         is protected;   
121     MakeEdge(me:out; 
122             aEdge   : Edge from TopoDS;  
123             aNewEdge: out Edge from TopoDS) 
124         is protected;            
125  
126     MakeFace(me:out; 
127             aFace   : Face from TopoDS;  
128             aNewEdge: out Face from TopoDS) 
129         is protected; 
130          
131     IsToReverse(me:out; 
132             aFR : Face from TopoDS;  
133             aF  : Face from TopoDS) 
134         returns Boolean from Standard        
135         is protected;  
136      
137     HasNewSubShape(me; 
138             aS  : Shape from TopoDS) 
139         returns Boolean from Standard        
140         is protected; 
141 -- 
142     Images(me) 
143         returns DataMapOfShapeListOfShape from TopTools;                 
144     ---C++:return const &  
145      
146     Origins(me) 
147         returns DataMapOfShapeShape from TopTools;               
148     ---C++:return const &  
149     
150 fields 
151     myCheckGeometry : Boolean from Standard is protected; 
152     myTol         : Real from Standard is protected;   
153     myImages      : DataMapOfShapeListOfShape from TopTools is protected;   
154     myOrigins     : DataMapOfShapeShape from TopTools is protected; 
155     myNbAlone     : Integer from Standard is protected;      
156 ----    
157     myGenerated   : ListOfShape from TopTools is protected;
158 ----    
159
160 end Gluer;