Salome HOME
Merge from V6_3_BR 06/06/2011
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo.cdl
1 -- Copyright (C) 2005-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 -- This library is free software; you can redistribute it and/or
4 -- modify it under the terms of the GNU Lesser General Public
5 -- License as published by the Free Software Foundation; either
6 -- version 2.1 of the License.
7 --
8 -- This library is distributed in the hope that it will be useful,
9 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
10 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 -- Lesser General Public License for more details.
12 --
13 -- You should have received a copy of the GNU Lesser General Public
14 -- License along with this library; if not, write to the Free Software
15 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 --
17 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 --
19 -- File:        GEOMAlgo.cdl
20 -- Created:     Sat Dec 04 12:36:22 2004
21 -- Author:      Peter KURNEV
22 --              <peter@PREFEX>
23
24 package GEOMAlgo 
25
26         ---Purpose: 
27
28 uses  
29     TCollection, 
30     
31     TColgp, 
32     Geom,     
33     Bnd, 
34     gp,   
35     GeomAdaptor,
36     TopAbs,
37     TopoDS, 
38     TopTools, 
39     IntTools, 
40     BOPTools, 
41     BOP, 
42     
43     TColStd, 
44     BOPTColStd,  
45     BRepAlgo, 
46     NMTDS, 
47     NMTTools 
48     
49 is   
50     --
51     -- enumerations 
52     --
53     enumeration State is 
54         ST_UNKNOWN, 
55         ST_IN,
56         ST_OUT,
57         ST_ON, 
58         ST_ONIN, 
59         ST_ONOUT, 
60         ST_INOUT    
61     end State; 
62     --
63     enumeration KindOfShape is 
64         KS_UNKNOWN, 
65         KS_SPHERE,
66         KS_CYLINDER,
67         KS_BOX,
68         KS_TORUS,
69         KS_CONE,
70         KS_ELLIPSE,
71         KS_PLANE,
72         KS_CIRCLE, 
73         KS_LINE, 
74         KS_DEGENERATED 
75     end KindOfShape;   
76     --  
77     enumeration KindOfName is 
78         KN_UNKNOWN, 
79         KN_SPHERE,
80         KN_CYLINDER,
81         KN_TORUS,
82         KN_CONE,
83         KN_ELLIPSE, 
84         KN_CIRCLE,
85         KN_PLANE,
86         KN_LINE, 
87         KN_BOX, 
88         KN_SEGMENT, 
89         KN_ARCCIRCLE, 
90         KN_POLYGON, 
91         KN_POLYHEDRON,
92         KN_DISKCIRCLE, 
93         KN_DISKELLIPSE, 
94         KN_RECTANGLE, 
95         KN_TRIANGLE, 
96         KN_QUADRANGLE, 
97         KN_ARCELLIPSE            
98     end KindOfName;   
99     --
100     enumeration KindOfBounds is  
101         KB_UNKNOWN, 
102         KB_TRIMMED, 
103         KB_INFINITE
104     end KindOfBounds;  
105     --
106     enumeration KindOfClosed is  
107         KC_UNKNOWN, 
108         KC_CLOSED, 
109         KC_NOTCLOSED
110     end KindOfClosed;  
111     --
112     deferred class HAlgo;
113     deferred class Clsf;
114     class ClsfSurf; 
115     class ClsfBox; 
116     --class FinderShapeOn2; 
117     class PassKeyShapeMapHasher; 
118     -- 
119     --  classes 
120     --  
121     deferred class Algo;  
122     deferred class ShapeAlgo;  
123     -- 
124     class ShapeInfo;
125     class ShapeInfoFiller;
126     -- 
127     --  gluer                
128     class Gluer; 
129     class Gluer1;  
130  
131 --modified by NIZNHY-PKV Mon Feb 21 10:07:22 2011f  
132     imported Gluer2 from GEOMAlgo;   
133     imported GlueDetector from GEOMAlgo; 
134     imported GluerAlgo from GEOMAlgo;  
135 --modified by NIZNHY-PKV Mon Feb 21 10:07:27 2011t     
136  
137     class GlueAnalyser;  
138     
139     class CoupleOfShapes; 
140     class PassKey;  
141     class PassKeyMapHasher; 
142     class PassKeyShape;  
143     
144     class SurfaceTools; 
145     class Tools;  
146     --       
147     --  finder on 
148     deferred class ShapeSolid;
149     class WireSolid; 
150     class ShellSolid; 
151     class VertexSolid; 
152     class SolidSolid; 
153     --class FinderShapeOn; 
154     -- 
155     --class FinderShapeOn1;
156     class StateCollector; 
157
158     class ClsfSolid;  
159     -- class FinderShapeOn2; 
160     -- class PassKeyShapeMapHasher;
161     --
162     -- Builder/Splitter 
163     deferred class BuilderShape; 
164      
165     class Builder; 
166     class Splitter; 
167     class Tools3D; 
168     class BuilderTools; 
169     class ShapeSet;  
170      
171     deferred class BuilderArea;
172     class BuilderFace; 
173     class BuilderSolid;  
174     
175     class WireSplitter; 
176     class WireEdgeSet; 
177     class WESCorrector; 
178     class WESScaler; 
179     -- 
180     --  Pointers
181     --     
182     pointer PWireEdgeSet to WireEdgeSet from GEOMAlgo;  
183     --     
184     -- 
185     --  Instantiations  
186     class DataMapOfShapeShapeSet instantiates 
187         DataMap from TCollection(Shape from TopoDS, 
188                                  ShapeSet from GEOMAlgo, 
189                                  ShapeMapHasher from TopTools); 
190          
191     class DataMapOfShapeReal instantiates 
192         DataMap from TCollection(Shape from TopoDS, 
193                                  Real from Standard, 
194                                  ShapeMapHasher from TopTools);          
195                                   
196     
197     class DataMapOfRealListOfShape instantiates  
198         DataMap from TCollection(Real from Standard, 
199                                  ListOfShape from TopTools,  
200                                  MapRealHasher from TColStd);      
201     --
202     --  instantiations
203     
204      
205     class IndexedDataMapOfShapeBox  
206         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
207                                                          Box from Bnd,
208                                                          ShapeMapHasher from TopTools);
209     class IndexedDataMapOfIntegerShape  
210         instantiates IndexedDataMap from TCollection    (Integer from Standard,
211                                                          Shape from TopoDS,
212                                                          MapIntegerHasher from TColStd); 
213                                                           
214     class ListOfCoupleOfShapes  
215         instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
216
217
218     class IndexedDataMapOfShapeState
219         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
220                                                          State from TopAbs,  
221                                                          ShapeMapHasher from TopTools);
222     class ListOfPnt
223         instantiates List from TCollection  (Pnt from gp);
224
225     class DataMapOfPassKeyInteger
226         instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
227                                                Integer from Standard, 
228                                                PassKeyMapHasher from GEOMAlgo); 
229      
230     class IndexedDataMapOfPassKeyShapeListOfShape
231         instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
232                                                       ListOfShape from TopTools, 
233                                                       PassKeyShapeMapHasher from GEOMAlgo); 
234
235     class IndexedDataMapOfShapeShapeInfo
236         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
237                                                          ShapeInfo from GEOMAlgo,
238                                                          ShapeMapHasher from TopTools);
239
240     class DataMapOfPassKeyShapeShape   
241         instantiates DataMap from TCollection (PassKeyShape from GEOMAlgo, 
242                                                Shape from TopoDS, 
243                                                PassKeyShapeMapHasher from GEOMAlgo); 
244
245     class DataMapOfOrientedShapeShape instantiates
246         DataMap from TCollection (Shape                  from TopoDS,
247                                   Shape                  from TopoDS,
248                                   OrientedShapeMapHasher from TopTools);
249     
250 end GEOMAlgo;