Salome HOME
Copyrights update
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_GlueAnalyser.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/
19 //
20 -- File:        GEOMAlgo_GlueAnalyser.cdl
21 -- Created:     Wed Dec 15 11:03:03 2004
22 -- Author:      Peter KURNEV
23 --              <pkv@irinox>
24 ---Copyright:    Matra Datavision 2004
25
26
27 class GlueAnalyser from GEOMAlgo 
28     inherits Gluer from GEOMAlgo  
29         ---Purpose: 
30
31 uses 
32     ShapeEnum from TopAbs, 
33     ListOfShape from TopTools,
34     ListOfCoupleOfShapes from GEOMAlgo
35
36 --raises
37
38 is
39     Create   
40         returns GlueAnalyser from GEOMAlgo; 
41     ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_GlueAnalyser();"
42
43     Perform(me:out) 
44         is redefined; 
45          
46     HasSolidsToGlue(me)   
47         returns Boolean from Standard;  
48      
49     SolidsToGlue(me) 
50         returns ListOfCoupleOfShapes from GEOMAlgo; 
51     ---C++:return const &  
52      
53     HasSolidsAlone(me)   
54         returns Boolean from Standard; 
55      
56     SolidsAlone(me) 
57         returns ListOfShape from TopTools; 
58     ---C++:return const &   
59      
60     DetectVertices(me:out) 
61         is protected;  
62      
63     DetectEdges(me:out) 
64         is protected; 
65      
66     DetectFaces(me:out) 
67         is protected;
68      
69     DetectShapes(me:out; 
70             aType:ShapeEnum from TopAbs) 
71         is protected;        
72
73     DetectSolids (me:out) 
74         is protected; 
75         
76     
77      
78 fields  
79     mySolidsToGlue   : ListOfCoupleOfShapes from GEOMAlgo is protected; 
80     mySolidsAlone    : ListOfShape from TopTools is protected; 
81     
82 end GlueAnalyser;