Salome HOME
Fix for the bug IPAL22851: Sub-shapes spelling
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo.cdl
1 -- Copyright (C) 2007-2011  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 -- File:        GEOMAlgo.cdl
23 -- Created:     Sat Dec 04 12:36:22 2004
24 -- Author:      Peter KURNEV
25
26 package GEOMAlgo 
27
28         ---Purpose: 
29
30 uses  
31     TCollection, 
32     
33     TColgp, 
34     Geom,     
35     Bnd, 
36     gp,   
37     GeomAdaptor,
38     TopAbs,
39     TopoDS, 
40     TopTools, 
41     IntTools, 
42     BOPTools, 
43     BOP, 
44     
45     TColStd, 
46     BOPTColStd,  
47     BRepAlgo, 
48     NMTDS, 
49     NMTTools 
50     
51 is   
52     --
53     -- enumerations 
54     --
55     enumeration State is 
56         ST_UNKNOWN, 
57         ST_IN,
58         ST_OUT,
59         ST_ON, 
60         ST_ONIN, 
61         ST_ONOUT, 
62         ST_INOUT    
63     end State; 
64     --
65     enumeration KindOfShape is 
66         KS_UNKNOWN, 
67         KS_SPHERE,
68         KS_CYLINDER,
69         KS_BOX,
70         KS_TORUS,
71         KS_CONE,
72         KS_ELLIPSE,
73         KS_PLANE,
74         KS_CIRCLE, 
75         KS_LINE, 
76         KS_DEGENERATED 
77     end KindOfShape;   
78     --  
79     enumeration KindOfName is 
80         KN_UNKNOWN, 
81         KN_SPHERE,
82         KN_CYLINDER,
83         KN_TORUS,
84         KN_CONE,
85         KN_ELLIPSE, 
86         KN_CIRCLE,
87         KN_PLANE,
88         KN_LINE, 
89         KN_BOX, 
90         KN_SEGMENT, 
91         KN_ARCCIRCLE, 
92         KN_POLYGON, 
93         KN_POLYHEDRON,
94         KN_DISKCIRCLE, 
95         KN_DISKELLIPSE, 
96         KN_RECTANGLE, 
97         KN_TRIANGLE, 
98         KN_QUADRANGLE, 
99         KN_ARCELLIPSE            
100     end KindOfName;   
101     --
102     enumeration KindOfBounds is  
103         KB_UNKNOWN, 
104         KB_TRIMMED, 
105         KB_INFINITE
106     end KindOfBounds;  
107     --
108     enumeration KindOfClosed is  
109         KC_UNKNOWN, 
110         KC_CLOSED, 
111         KC_NOTCLOSED
112     end KindOfClosed;  
113     --
114     deferred class HAlgo;
115     deferred class Clsf;
116     class ClsfSurf; 
117     class ClsfBox; 
118     --class FinderShapeOn2; 
119     class PassKeyShapeMapHasher; 
120     -- 
121     --  classes 
122     --  
123     deferred class Algo;  
124     deferred class ShapeAlgo;  
125     -- 
126     class ShapeInfo;
127     class ShapeInfoFiller;
128     -- 
129     --  Gluer / GetInPlace 
130 --modified by NIZNHY-PKV Mon Feb 21 10:07:22 2011f           
131 --    class Gluer1;  
132     class Gluer; 
133
134     imported Gluer2 from GEOMAlgo;   
135     imported GlueDetector from GEOMAlgo; 
136     imported GluerAlgo from GEOMAlgo; 
137     imported GetInPlace from GEOMAlgo; 
138 --modified by NIZNHY-PKV Mon Feb 21 10:07:27 2011t     
139   
140     class GlueAnalyser;  
141     
142     class CoupleOfShapes; 
143     class PassKey;  
144     class PassKeyMapHasher; 
145     class PassKeyShape;  
146     class SurfaceTools; 
147     class Tools;  
148     --       
149     --  finder on 
150     deferred class ShapeSolid;
151     class WireSolid; 
152     class ShellSolid; 
153     class VertexSolid; 
154     class SolidSolid; 
155     --class FinderShapeOn; 
156     -- 
157     --class FinderShapeOn1;
158     class StateCollector; 
159
160     class ClsfSolid;  
161     -- class FinderShapeOn2; 
162     -- class PassKeyShapeMapHasher;
163     --
164     -- Builder/Splitter 
165     deferred class BuilderShape; 
166      
167     class Builder; 
168     class Splitter; 
169     class Tools3D; 
170     class BuilderTools; 
171     class ShapeSet;  
172      
173     deferred class BuilderArea;
174     class BuilderFace; 
175     class BuilderSolid;  
176     
177     class WireSplitter; 
178     class WireEdgeSet; 
179     class WESCorrector; 
180     class WESScaler; 
181     -- 
182     --  Pointers
183     --     
184     pointer PWireEdgeSet to WireEdgeSet from GEOMAlgo;  
185     --     
186     -- 
187     --  Instantiations  
188     class DataMapOfShapeShapeSet instantiates 
189         DataMap from TCollection(Shape from TopoDS, 
190                                  ShapeSet from GEOMAlgo, 
191                                  ShapeMapHasher from TopTools); 
192          
193     class DataMapOfShapeReal instantiates 
194         DataMap from TCollection(Shape from TopoDS, 
195                                  Real from Standard, 
196                                  ShapeMapHasher from TopTools);          
197                                   
198     
199     class DataMapOfRealListOfShape instantiates  
200         DataMap from TCollection(Real from Standard, 
201                                  ListOfShape from TopTools,  
202                                  MapRealHasher from TColStd);      
203     --
204     --  instantiations
205     
206      
207     class IndexedDataMapOfShapeBox  
208         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
209                                                          Box from Bnd,
210                                                          ShapeMapHasher from TopTools);
211     class IndexedDataMapOfIntegerShape  
212         instantiates IndexedDataMap from TCollection    (Integer from Standard,
213                                                          Shape from TopoDS,
214                                                          MapIntegerHasher from TColStd); 
215                                                           
216     class ListOfCoupleOfShapes  
217         instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
218
219
220     class IndexedDataMapOfShapeState
221         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
222                                                          State from TopAbs,  
223                                                          ShapeMapHasher from TopTools);
224     class ListOfPnt
225         instantiates List from TCollection  (Pnt from gp);
226
227     class DataMapOfPassKeyInteger
228         instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
229                                                Integer from Standard, 
230                                                PassKeyMapHasher from GEOMAlgo); 
231      
232     class IndexedDataMapOfPassKeyShapeListOfShape
233         instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
234                                                       ListOfShape from TopTools, 
235                                                       PassKeyShapeMapHasher from GEOMAlgo); 
236
237     class IndexedDataMapOfShapeShapeInfo
238         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
239                                                          ShapeInfo from GEOMAlgo,
240                                                          ShapeMapHasher from TopTools);
241
242     class DataMapOfPassKeyShapeShape   
243         instantiates DataMap from TCollection (PassKeyShape from GEOMAlgo, 
244                                                Shape from TopoDS, 
245                                                PassKeyShapeMapHasher from GEOMAlgo); 
246
247     class DataMapOfOrientedShapeShape instantiates
248         DataMap from TCollection (Shape                  from TopoDS,
249                                   Shape                  from TopoDS,
250                                   OrientedShapeMapHasher from TopTools); 
251  
252     --modified by NIZNHY-PKV Thu Apr 28 08:25:36 2011f 
253     class DataMapOfShapeMapOfShape instantiates
254         DataMap from TCollection (Shape          from TopoDS,
255                                   MapOfShape     from TopTools,
256                                   ShapeMapHasher from TopTools); 
257     class DataMapOfShapePnt instantiates
258         DataMap from TCollection (Shape          from TopoDS,
259                                   Pnt            from gp,
260                                   ShapeMapHasher from TopTools);                          
261     --modified by NIZNHY-PKV Thu Apr 28 08:25:39 2011t     
262     
263 end GEOMAlgo;