Salome HOME
f290d14d0c8f3cfc058cb9c12dbc77b7328666ee
[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     deferred class HAlgo;
65     deferred class Clsf;
66     class ClsfSurf; 
67     class ClsfBox; 
68     class FinderShapeOn2; 
69     class PassKeyShapeMapHasher; 
70     -- 
71     --  classes 
72     --  
73     deferred class Algo;  
74     deferred class ShapeAlgo;  
75     -- 
76     --  gluer                
77     class Gluer; 
78     class GlueAnalyser; 
79     class CoupleOfShapes; 
80     class PassKey;  
81     class PassKeyMapHasher; 
82     class PassKeyShape;  
83     
84     class SurfaceTools; 
85     class Tools;  
86     --       
87     --  finder on 
88     deferred class ShapeSolid;
89     class WireSolid; 
90     class ShellSolid; 
91     class VertexSolid; 
92     class SolidSolid; 
93     class FinderShapeOn; 
94     -- 
95     class FinderShapeOn1;
96     class StateCollector; 
97     
98     --
99     -- Builder/Splitter 
100     deferred class BuilderShape; 
101      
102     class Builder; 
103     class Splitter; 
104     class Tools3D; 
105     class BuilderTools; 
106     class ShapeSet;  
107      
108     deferred class BuilderArea;
109     class BuilderFace; 
110     class BuilderSolid;  
111     
112     class WireSplitter; 
113     class WireEdgeSet; 
114     class WESCorrector; 
115     -- 
116     --  Pointers
117     --     
118     pointer PWireEdgeSet to WireEdgeSet from GEOMAlgo;  
119     --     
120     -- 
121     --  Instantiations  
122     class DataMapOfShapeShapeSet instantiates 
123         DataMap from TCollection(Shape from TopoDS, 
124                                  ShapeSet from GEOMAlgo, 
125                                  ShapeMapHasher from TopTools); 
126          
127     class DataMapOfShapeReal instantiates 
128         DataMap from TCollection(Shape from TopoDS, 
129                                  Real from Standard, 
130                                  ShapeMapHasher from TopTools);          
131                                   
132     
133     class DataMapOfRealListOfShape instantiates  
134         DataMap from TCollection(Real from Standard, 
135                                  ListOfShape from TopTools,  
136                                  MapRealHasher from TColStd);      
137     --
138     --  instantiations
139     
140      
141     class IndexedDataMapOfShapeBox  
142         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
143                                                          Box from Bnd,
144                                                          ShapeMapHasher from TopTools);
145     class IndexedDataMapOfIntegerShape  
146         instantiates IndexedDataMap from TCollection    (Integer from Standard,
147                                                          Shape from TopoDS,
148                                                          MapIntegerHasher from TColStd); 
149                                                           
150     class ListOfCoupleOfShapes  
151         instantiates List from TCollection  (CoupleOfShapes from GEOMAlgo);
152
153
154     class IndexedDataMapOfShapeState  
155         instantiates IndexedDataMap from TCollection    (Shape from TopoDS,
156                                                          State from TopAbs,  
157                                                          ShapeMapHasher from TopTools);
158     class ListOfPnt  
159         instantiates List from TCollection  (Pnt from gp);
160
161     class DataMapOfPassKeyInteger   
162         instantiates DataMap from TCollection (PassKey from GEOMAlgo, 
163                                                Integer from Standard, 
164                                                PassKeyMapHasher from GEOMAlgo); 
165      
166     class IndexedDataMapOfPassKeyShapeListOfShape   
167         instantiates IndexedDataMap from TCollection (PassKeyShape from GEOMAlgo, 
168                                                       ListOfShape from TopTools, 
169                                                       PassKeyShapeMapHasher from GEOMAlgo); 
170
171 end GEOMAlgo;