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