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