]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo.cdl
Salome HOME
RNC: EDF 1618 Modified sketcher to allow creation of arcs of circle with the destinat...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo.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.cdl
24 -- Created:     Sat Dec 04 12:36:22 2004
25 -- Author:      Peter KURNEV
26 --              <peter@PREFEX>
27 --
28 package GEOMAlgo 
29
30         ---Purpose: 
31
32 uses  
33     TCollection, 
34     
35     TColgp, 
36     Geom,     
37     Bnd, 
38     gp,   
39     GeomAdaptor,
40     TopAbs,
41     TopoDS, 
42     TopTools, 
43     IntTools, 
44     BOPTools, 
45     BOP, 
46     
47     TColStd, 
48     BOPTColStd,  
49     BRepAlgo, 
50     NMTDS, 
51     NMTTools 
52     
53 is   
54     --
55     -- enumerations 
56     --
57     enumeration State is 
58         ST_UNKNOWN, 
59         ST_IN,
60         ST_OUT,
61         ST_ON, 
62         ST_ONIN, 
63         ST_ONOUT, 
64         ST_INOUT    
65     end State; 
66     --
67     enumeration KindOfShape is 
68         KS_UNKNOWN, 
69         KS_SPHERE,
70         KS_CYLINDER,
71         KS_BOX,
72         KS_TORUS,
73         KS_CONE,
74         KS_ELLIPSE,
75         KS_PLANE,
76         KS_CIRCLE, 
77         KS_LINE, 
78         KS_DEGENERATED 
79     end KindOfShape;   
80     --  
81     enumeration KindOfName is 
82         KN_UNKNOWN, 
83         KN_SPHERE,
84         KN_CYLINDER,
85         KN_TORUS,
86         KN_CONE,
87         KN_ELLIPSE, 
88         KN_CIRCLE,
89         KN_PLANE,
90         KN_LINE, 
91         KN_BOX, 
92         KN_SEGMENT, 
93         KN_ARCCIRCLE, 
94         KN_POLYGON, 
95         KN_POLYHEDRON,
96         KN_DISKCIRCLE, 
97         KN_DISKELLIPSE, 
98         KN_RECTANGLE, 
99         KN_TRIANGLE, 
100         KN_QUADRANGLE, 
101         KN_ARCELLIPSE            
102     end KindOfName;   
103     --
104     enumeration KindOfBounds is  
105         KB_UNKNOWN, 
106         KB_TRIMMED, 
107         KB_INFINITE
108     end KindOfBounds;  
109     --
110     enumeration KindOfClosed is  
111         KC_UNKNOWN, 
112         KC_CLOSED, 
113         KC_NOTCLOSED
114     end KindOfClosed;  
115     --
116     deferred class HAlgo;
117     deferred class Clsf;
118     class ClsfSurf; 
119     class ClsfBox; 
120     class FinderShapeOn2; 
121     class PassKeyShapeMapHasher; 
122     -- 
123     --  classes 
124     --  
125     deferred class Algo;  
126     deferred class ShapeAlgo;  
127     -- 
128     class ShapeInfo;
129     class ShapeInfoFiller;
130     -- 
131     --  gluer                
132     class Gluer; 
133     class Gluer1;  
134     class GlueAnalyser; 
135     class CoupleOfShapes; 
136     class PassKey;  
137     class PassKeyMapHasher; 
138     class PassKeyShape;  
139     
140     class SurfaceTools; 
141     class Tools;  
142     --       
143     --  finder on 
144     deferred class ShapeSolid;
145     class WireSolid; 
146     class ShellSolid; 
147     class VertexSolid; 
148     class SolidSolid; 
149     class FinderShapeOn; 
150     -- 
151     class FinderShapeOn1;
152     class StateCollector; 
153     --  adds
154     deferred class HAlgo;
155     deferred class Clsf;
156     class ClsfSurf; 
157     class ClsfBox;  
158     --modified by NIZNHY-PKV Mon Jan 29 10:27:44 2007f
159     class ClsfSolid;  
160     --modified by NIZNHY-PKV Mon Jan 29 10:27:46 2007t
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     -- 
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 DataMapOfShapeShapeSet instantiates 
247         DataMap from TCollection(Shape from TopoDS, 
248                                  ShapeSet from GEOMAlgo, 
249                                  ShapeMapHasher from TopTools); 
250          
251     class DataMapOfShapeReal instantiates 
252         DataMap from TCollection(Shape from TopoDS, 
253                                  Real from Standard, 
254                                  ShapeMapHasher from TopTools);          
255                                   
256     
257     class DataMapOfRealListOfShape instantiates  
258         DataMap from TCollection(Real from Standard, 
259                                  ListOfShape from TopTools,  
260                                  MapRealHasher from TColStd);      
261     
262 end GEOMAlgo;