OCC22145 Incorrect cutting BRepMesh_FastDiscretFace
[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         --          MeshAlgo, and so on ...
12
13         ---Level : Advanced.  
14         --  All methods of all  classes will be advanced.
15
16
17 uses    Standard,
18         gp,
19         Bnd,
20         TColStd,
21         TColgp,
22         GCPnts,
23         BRepAdaptor,
24         BRepTopAdaptor,
25         MeshDS,
26         MeshAlgo,
27         TCollection,
28         MMgt,
29         TopoDS,
30         TopAbs,
31         TopExp,
32         TopTools,
33         Poly,
34         Geom2d,
35         GeomAbs,
36         GeomAdaptor,
37         TopLoc
38
39
40 is 
41
42       enumeration Status  is 
43       ---Purpose: Discribes the wires discretisation.
44         NoError,
45         OpenWire,
46         SelfIntersectingWire,
47         Failure,
48         ReMesh 
49       end Status;
50        
51       enumeration FactoryError is 
52         FE_NOERROR,  
53         FE_LIBRARYNOTFOUND,
54         FE_FUNCTIONNOTFOUND,
55         FE_CANNOTCREATEALGO
56       end FactoryError;   
57       
58       class Vertex;
59
60       class Edge;
61
62       class Triangle;
63
64       class ShapeTool;
65       
66       deferred class DiscretRoot; 
67       class DiscretFactory;
68       --
69       pointer PDiscretRoot to DiscretRoot from BRepMesh;
70       --
71
72       class Delaun instantiates Delaunay from MeshAlgo(Vertex   from BRepMesh,
73                                                        Edge     from BRepMesh,
74                                                        Triangle from BRepMesh);
75
76       class DataMapOfVertexInteger instantiates DataMap from TCollection
77           (Vertex from TopoDS, Integer from Standard, ShapeMapHasher from TopTools);
78
79       class ListOfVertex instantiates List from TCollection 
80           (Vertex from  BRepMesh);
81
82         class ListOfXY instantiates List from TCollection (XY from gp);
83
84       class DataMapOfIntegerListOfXY  instantiates DataMap from TCollection
85           (Integer from Standard, ListOfXY from BRepMesh, MapIntegerHasher from TColStd);
86
87
88       class  VertexHasher  instantiates   MapHasher  from  TCollection(Vertex  from  BRepMesh);
89
90       class IndexedMapOfVertex instantiates IndexedMap from TCollection 
91           (Vertex from  BRepMesh,  VertexHasher from  BRepMesh);
92
93
94       class DataMapOfShapeReal instantiates DataMap from TCollection
95                                             (Shape          from TopoDS,
96                                              Real           from Standard,
97                                              ShapeMapHasher from TopTools);
98
99       class BiPoint;
100   
101       class Array1OfBiPoint    instantiates Array1  from TCollection(BiPoint from BRepMesh);
102
103       private class FastDiscretFace;
104       
105       class FastDiscret;
106       
107       class FaceAttribute;
108   
109       class DataMapOfFaceAttribute instantiates DataMap from TCollection
110                                             (Face           from TopoDS,
111                                              FaceAttribute  from BRepMesh,
112                                              ShapeMapHasher from TopTools);
113               
114       private class Classifier;
115       imported ClassifierPtr; -- smart pointer on Classifier
116
117       class IncrementalMesh from BRepMesh;
118       ---Purpose: meshes faces from a Shape only if necessary.
119
120          ---- classes moved from MeshShape
121       class GeomTool;
122
123       class DataMapOfIntegerPnt instantiates
124           DataMap from TCollection   (Integer          from Standard,
125                                       Pnt              from gp,
126                                       MapIntegerHasher from TColStd);
127
128       class PairOfPolygon;
129
130       class DataMapOfShapePairOfPolygon instantiates 
131       DataMap from TCollection(Shape          from TopoDS,
132                                PairOfPolygon  from BRepMesh,
133                                ShapeMapHasher from TopTools);
134
135       Mesh(S: Shape from TopoDS; d: Real from Standard);
136       ---Purpose: call to incremental mesh.
137
138   
139 end BRepMesh;