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