OCC22139 Statuses of BRepMesh OCC22418 DRAW test command for showing a descretization...
[occt.git] / src / BRepMesh / BRepMesh.cdl
1 -- File:        BRepMesh.cdl
2 -- Created:     Wed Sep 22 17:34:57 1993
3 -- Author:      Didier PIFFAULT
4 --              <dpf@zerox>
5 ---Copyright:    Matra Datavision 1993, 1994
6  
7
8 package BRepMesh
9
10         ---Purpose: Instantiated   package for the   class of packages
11
12         ---Level : Advanced.  
13         --  All methods of all  classes will be advanced.
14
15
16 uses    Standard,
17         gp,
18         Bnd,
19         TColStd,
20         TColgp,
21         GCPnts,
22         BRepAdaptor,
23         BRepTopAdaptor,
24         TCollection,
25         MMgt,
26         TopoDS,
27         TopAbs,
28         TopExp,
29         TopTools,
30         Poly,
31         Geom2d,
32         GeomAbs,
33         GeomAdaptor,
34         TopLoc,
35         SortTools
36
37
38 is    enumeration DegreeOfFreedom is 
39         Free,
40         InVolume,
41         OnSurface,
42         OnCurve,
43         Fixed,
44         Frontier,
45         Deleted;
46
47       imported Status from BRepMesh;
48        
49       enumeration FactoryError is 
50         FE_NOERROR,  
51         FE_LIBRARYNOTFOUND,
52         FE_FUNCTIONNOTFOUND,
53         FE_CANNOTCREATEALGO
54       end FactoryError;   
55       
56       class Vertex;
57
58       class Edge;
59
60       class Triangle;
61
62       class ShapeTool;
63
64       class Circ;
65
66       deferred class DiscretRoot; 
67       class DiscretFactory;
68       --
69       pointer PDiscretRoot to DiscretRoot from BRepMesh;
70       --
71       imported MapOfIntegerInteger from BRepMesh;
72       imported MapOfInteger from BRepMesh;
73       imported ListOfInteger from BRepMesh;
74       imported BaseAllocator from BRepMesh;
75       imported PairOfIndex from BRepMesh;
76       imported CircleInspector from BRepMesh;
77       imported CellFilter from BRepMesh;
78
79       class ComparatorOfVertexOfDelaun;
80       class ComparatorOfIndexedVertexOfDelaun;
81       class SelectorOfDataStructureOfDelaun;
82       class Delaun;
83       class DataStructureOfDelaun;
84       class CircleTool;
85
86       class Array1OfVertexOfDelaun instantiates Array1 from TCollection
87         (Vertex from BRepMesh);
88
89       class HArray1OfVertexOfDelaun instantiates HArray1 from TCollection
90         (Vertex from BRepMesh, Array1OfVertexOfDelaun);
91
92       class HeapSortVertexOfDelaun instantiates  HeapSort from SortTools
93         (Vertex from BRepMesh, Array1OfVertexOfDelaun,
94         ComparatorOfVertexOfDelaun from BRepMesh);
95
96       class HeapSortIndexedVertexOfDelaun instantiates  HeapSort from SortTools
97         (Integer, Array1OfInteger from TColStd,
98         ComparatorOfIndexedVertexOfDelaun from BRepMesh);
99
100       class NodeHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
101         (Vertex from BRepMesh);
102       class LinkHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
103         (Edge from BRepMesh);
104       class ElemHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection
105         (Triangle from BRepMesh);
106
107       class IDMapOfNodeOfDataStructureOfDelaun  instantiates IndexedDataMap from TCollection
108         (Vertex from BRepMesh,
109         ListOfInteger from BRepMesh,
110         NodeHasherOfDataStructureOfDelaun);
111
112       class IDMapOfLinkOfDataStructureOfDelaun  instantiates IndexedDataMap from TCollection
113         (Edge from BRepMesh,
114         PairOfIndex from BRepMesh,
115         LinkHasherOfDataStructureOfDelaun);
116
117       class IMapOfElementOfDataStructureOfDelaun instantiates IndexedMap from TCollection
118         (Triangle from BRepMesh,
119         ElemHasherOfDataStructureOfDelaun);
120
121       class DataMapOfVertexInteger instantiates DataMap from TCollection
122           (Vertex from TopoDS, Integer from Standard, ShapeMapHasher from TopTools);
123
124       class ListOfVertex instantiates List from TCollection 
125           (Vertex from  BRepMesh);
126
127         class ListOfXY instantiates List from TCollection (XY from gp);
128
129       class DataMapOfIntegerListOfXY  instantiates DataMap from TCollection
130           (Integer from Standard, ListOfXY from BRepMesh, MapIntegerHasher from TColStd);
131
132
133       class  VertexHasher  instantiates   MapHasher  from  TCollection(Vertex  from  BRepMesh);
134
135       class IndexedMapOfVertex instantiates IndexedMap from TCollection 
136           (Vertex from  BRepMesh,  VertexHasher from  BRepMesh);
137
138
139       class DataMapOfShapeReal instantiates DataMap from TCollection
140                                             (Shape          from TopoDS,
141                                              Real           from Standard,
142                                              ShapeMapHasher from TopTools);
143
144       class BiPoint;
145   
146       class Array1OfBiPoint    instantiates Array1  from TCollection(BiPoint from BRepMesh);
147
148       private class FastDiscretFace;
149       
150       class FastDiscret;
151       
152       class FaceAttribute;
153   
154       class DataMapOfFaceAttribute instantiates DataMap from TCollection
155                                             (Face           from TopoDS,
156                                              FaceAttribute  from BRepMesh,
157                                              ShapeMapHasher from TopTools);
158               
159       private class Classifier;
160       imported ClassifierPtr; -- smart pointer on Classifier
161
162       class IncrementalMesh from BRepMesh;
163       ---Purpose: meshes faces from a Shape only if necessary.
164
165          ---- classes moved from MeshShape
166       class GeomTool;
167
168       class DataMapOfIntegerPnt instantiates
169           DataMap from TCollection   (Integer          from Standard,
170                                       Pnt              from gp,
171                                       MapIntegerHasher from TColStd);
172
173       class PairOfPolygon;
174
175       class DataMapOfShapePairOfPolygon instantiates 
176       DataMap from TCollection(Shape          from TopoDS,
177                                PairOfPolygon  from BRepMesh,
178                                ShapeMapHasher from TopTools);
179
180       Mesh(S: Shape from TopoDS; d: Real from Standard);
181       ---Purpose: call to incremental mesh.
182
183   
184 end BRepMesh;