0024624: Lost word in license statement in source files
[occt.git] / src / BRepMesh / BRepMesh.cdl
1 -- Created on: 1993-09-22
2 -- Created by: Didier PIFFAULT
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 package BRepMesh
18
19         ---Purpose: Instantiated   package for the   class of packages
20
21         ---Level : Advanced.  
22         --  All methods of all  classes will be advanced.
23
24
25 uses    Standard,
26         gp,
27         Bnd,
28         TColStd,
29         TColgp,
30         GCPnts,
31         BRepAdaptor,
32         BRepTopAdaptor,
33         TCollection,
34         MMgt,
35         TopoDS,
36         TopAbs,
37         TopExp,
38         TopTools,
39         Poly,
40         Geom2d,
41         GeomAbs,
42         GeomAdaptor,
43         TopLoc,
44         SortTools,
45         Plugin
46
47
48 is    enumeration DegreeOfFreedom is 
49         Free,
50         InVolume,
51         OnSurface,
52         OnCurve,
53         Fixed,
54         Frontier,
55         Deleted;
56
57       imported Status from BRepMesh;
58        
59       enumeration FactoryError is 
60         FE_NOERROR,  
61         FE_LIBRARYNOTFOUND,
62         FE_FUNCTIONNOTFOUND,
63         FE_CANNOTCREATEALGO
64       end FactoryError;   
65       
66       class Vertex;
67
68       class Edge;
69
70           imported Triangle from BRepMesh;
71           
72       class ShapeTool;
73
74       class Circ;
75
76       deferred class DiscretRoot; 
77       class DiscretFactory;
78       --
79       pointer PDiscretRoot to DiscretRoot from BRepMesh;
80       --
81       imported Delaun from BRepMesh;
82       imported MapOfIntegerInteger from BRepMesh;
83       imported MapOfInteger from BRepMesh;
84       imported ListOfInteger from BRepMesh;
85       imported BaseAllocator from BRepMesh;
86       imported PairOfIndex from BRepMesh;
87       imported CircleInspector from BRepMesh;
88       imported CellFilter from BRepMesh;
89       imported VertexInspector from BRepMesh;
90       imported VertexCellFilter from BRepMesh;
91       imported VectorOfVertex from BRepMesh;
92
93       primitive PluginEntryType;
94
95       class ComparatorOfVertexOfDelaun;
96       class ComparatorOfIndexedVertexOfDelaun;
97       class SelectorOfDataStructureOfDelaun;
98       class DataStructureOfDelaun;
99       class CircleTool;
100       class VertexTool;
101     
102       class Array1OfVertexOfDelaun instantiates Array1 from TCollection
103         (Vertex from BRepMesh);
104
105       class HArray1OfVertexOfDelaun instantiates HArray1 from TCollection
106         (Vertex from BRepMesh, Array1OfVertexOfDelaun);
107
108       class HeapSortVertexOfDelaun instantiates  HeapSort from SortTools
109         (Vertex from BRepMesh, Array1OfVertexOfDelaun,
110         ComparatorOfVertexOfDelaun from BRepMesh);
111
112       class HeapSortIndexedVertexOfDelaun instantiates  HeapSort from SortTools
113         (Integer, Array1OfInteger from TColStd,
114         ComparatorOfIndexedVertexOfDelaun from BRepMesh);
115
116       class NodeHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
117         (Vertex from BRepMesh);
118       class LinkHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
119         (Edge from BRepMesh);
120       class ElemHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
121         (Triangle from BRepMesh);
122
123       class DataMapOfIntegerListOfInteger     instantiates DataMap from TCollection
124         (Integer from Standard, ListOfInteger from BRepMesh, MapIntegerHasher from TColStd);
125
126       class IDMapOfNodeOfDataStructureOfDelaun  instantiates IndexedDataMap from TCollection
127         (Vertex from BRepMesh,
128         ListOfInteger from BRepMesh,
129         NodeHasherOfDataStructureOfDelaun);
130
131       class IDMapOfLinkOfDataStructureOfDelaun  instantiates IndexedDataMap from TCollection
132         (Edge from BRepMesh,
133         PairOfIndex from BRepMesh,
134         LinkHasherOfDataStructureOfDelaun);
135
136       class IMapOfElementOfDataStructureOfDelaun instantiates IndexedMap from TCollection
137         (Triangle from BRepMesh,
138         ElemHasherOfDataStructureOfDelaun);
139
140       class DataMapOfVertexInteger instantiates DataMap from TCollection
141           (Vertex from TopoDS, Integer from Standard, ShapeMapHasher from TopTools);
142
143       class ListOfVertex instantiates List from TCollection 
144           (Vertex from  BRepMesh);
145           
146       class ListOfXY instantiates List from TCollection (XY from gp);
147
148       class DataMapOfIntegerListOfXY  instantiates DataMap from TCollection
149           (Integer from Standard, ListOfXY from BRepMesh, MapIntegerHasher from TColStd);
150
151
152       class  VertexHasher  instantiates   MapHasher  from  TCollection(Vertex  from  BRepMesh);
153
154       class IndexedMapOfVertex instantiates IndexedMap from TCollection 
155           (Vertex from  BRepMesh,  VertexHasher from  BRepMesh);
156
157
158       class DataMapOfShapeReal instantiates DataMap from TCollection
159                                             (Shape          from TopoDS,
160                                              Real           from Standard,
161                                              ShapeMapHasher from TopTools);
162
163       class BiPoint;
164   
165       class Array1OfBiPoint    instantiates Array1  from TCollection(BiPoint from BRepMesh);
166
167       private class FastDiscretFace;
168       
169       class FastDiscret;
170       
171       class FaceAttribute;
172   
173       class DataMapOfFaceAttribute instantiates DataMap from TCollection
174                                             (Face           from TopoDS,
175                                              FaceAttribute  from BRepMesh,
176                                              ShapeMapHasher from TopTools);
177               
178       private class Classifier;
179       imported ClassifierPtr; -- smart pointer on Classifier
180
181       class IncrementalMesh from BRepMesh;
182       ---Purpose: meshes faces from a Shape only if necessary.
183
184          ---- classes moved from MeshShape
185       class GeomTool;
186
187       class DataMapOfIntegerPnt instantiates
188           DataMap from TCollection   (Integer          from Standard,
189                                       Pnt              from gp,
190                                       MapIntegerHasher from TColStd);
191
192       class PairOfPolygon;
193
194       class DataMapOfShapePairOfPolygon instantiates 
195       DataMap from TCollection(Shape          from TopoDS,
196                                PairOfPolygon  from BRepMesh,
197                                ShapeMapHasher from TopTools);
198
199       Mesh(S: Shape from TopoDS; d: Real from Standard);
200       ---Purpose: call to incremental mesh.
201
202   
203 end BRepMesh;