Salome HOME
Merge from BR_Dev_For_4_0 branch (from tag mergeto_BR_QT4_Dev_17Jan08)
[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
25
26 class Gluer from GEOMAlgo  
27     inherits ShapeAlgo from GEOMAlgo
28
29         ---Purpose: 
30
31 uses 
32     ShapeEnum from TopAbs,
33     Shape from TopoDS,  
34     Edge from TopoDS, 
35     Face from TopoDS, 
36     Vertex from TopoDS, 
37     ListOfShape from TopTools,
38     DataMapOfShapeShape from TopTools,
39     DataMapOfShapeListOfShape from TopTools, 
40     Context from IntTools, 
41     PassKeyShape from GEOMAlgo
42
43 --raises
44
45 is 
46     Create   
47         returns Gluer from GEOMAlgo; 
48     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Gluer();" 
49      
50     SetCheckGeometry (me:out; 
51             aFlag:Boolean from Standard); 
52              
53     CheckGeometry (me) 
54         returns Boolean from Standard; 
55   
56     Perform(me:out) 
57         is redefined;   
58         
59     AloneShapes(me) 
60          returns Integer from Standard;     
61
62     --modified by NIZNHY-PKV Fri Jan 21 14:16:58 2005f-
63     Modified(me:out;  
64             S : Shape from TopoDS) 
65         returns ListOfShape from TopTools;
66     ---C++: return const & 
67    
68     Generated(me:out;  
69             S : Shape from TopoDS) 
70         returns ListOfShape from TopTools;
71     ---C++: return const & 
72
73     IsDeleted (me:out;  
74             S : Shape from TopoDS)
75        returns Boolean from Standard; 
76     --modified by NIZNHY-PKV Fri Jan 21 14:17:04 2005t  
77
78     CheckData(me:out) 
79         is redefined protected; 
80          
81     CheckResult (me:out) 
82         is redefined protected; 
83          
84     MakeVertices(me:out) 
85         is protected;   
86   
87     MakeEdges(me:out) 
88         is protected; 
89      
90     MakeFaces(me:out) 
91         is protected;
92      
93     MakeShapes(me:out; 
94             aType:ShapeEnum from TopAbs) 
95         is protected;  
96      
97     MakeShells(me:out) 
98         is protected;
99       
100     MakeSolids(me:out) 
101         is protected; 
102          
103     InnerTolerance(me:out) 
104         is protected;
105  
106     EdgePassKey(me:out; 
107             aE:Edge from TopoDS;  
108             aPK:out PassKeyShape from GEOMAlgo)  
109         is protected;     
110    
111     FacePassKey(me:out; 
112             aF:Face from TopoDS;  
113             aPK:out PassKeyShape from GEOMAlgo)  
114         is protected; 
115          
116     MakeVertex(me:out; 
117             aLV   : ListOfShape from TopTools;  
118             aNewV: out Vertex from TopoDS) 
119         is protected;   
120     MakeEdge(me:out; 
121             aEdge   : Edge from TopoDS;  
122             aNewEdge: out Edge from TopoDS) 
123         is protected;            
124  
125     MakeFace(me:out; 
126             aFace   : Face from TopoDS;  
127             aNewEdge: out Face from TopoDS) 
128         is protected; 
129          
130     IsToReverse(me:out; 
131             aFR : Face from TopoDS;  
132             aF  : Face from TopoDS) 
133         returns Boolean from Standard        
134         is protected;  
135      
136     HasNewSubShape(me; 
137             aS  : Shape from TopoDS) 
138         returns Boolean from Standard        
139         is protected; 
140 -- 
141     Images(me) 
142         returns DataMapOfShapeListOfShape from TopTools;                 
143     ---C++:return const &  
144      
145     Origins(me) 
146         returns DataMapOfShapeShape from TopTools;               
147     ---C++:return const &  
148     
149 fields 
150     myCheckGeometry : Boolean from Standard is protected; 
151     myTol         : Real from Standard is protected;   
152     myImages      : DataMapOfShapeListOfShape from TopTools is protected;   
153     myOrigins     : DataMapOfShapeShape from TopTools is protected; 
154     myNbAlone     : Integer from Standard is protected;      
155 ----    
156     myGenerated   : ListOfShape from TopTools is protected;
157 ----    
158
159 end Gluer;