Commit | Line | Data |
---|---|---|
b311480e | 1 | -- Created on: 1993-09-22 |
2 | -- Created by: Didier PIFFAULT | |
3 | -- Copyright (c) 1993-1999 Matra Datavision | |
973c2be1 | 4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e | 5 | -- |
973c2be1 | 6 | -- This file is part of Open CASCADE Technology software library. |
b311480e | 7 | -- |
d5f74e42 | 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 | |
973c2be1 | 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. | |
b311480e | 13 | -- |
973c2be1 | 14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. | |
7fd59977 | 16 | |
703a6abd | 17 | package BRepMesh |
7fd59977 | 18 | |
703a6abd | 19 | ---Purpose: Instantiated package for the class of packages |
7fd59977 | 20 | |
21 | ---Level : Advanced. | |
22 | -- All methods of all classes will be advanced. | |
23 | ||
24 | ||
25 | uses Standard, | |
703a6abd O |
26 | gp, |
27 | Bnd, | |
28 | TColStd, | |
29 | TColgp, | |
30 | GCPnts, | |
31 | BRepAdaptor, | |
32 | BRepTopAdaptor, | |
703a6abd O |
33 | TCollection, |
34 | MMgt, | |
35 | TopoDS, | |
36 | TopAbs, | |
37 | TopExp, | |
38 | TopTools, | |
39 | Poly, | |
40 | Geom2d, | |
41 | GeomAbs, | |
42 | GeomAdaptor, | |
0d88155b | 43 | TopLoc, |
0b97567d K |
44 | SortTools, |
45 | Plugin | |
7fd59977 | 46 | |
47 | ||
0d88155b O |
48 | is enumeration DegreeOfFreedom is |
49 | Free, | |
50 | InVolume, | |
51 | OnSurface, | |
52 | OnCurve, | |
53 | Fixed, | |
54 | Frontier, | |
55 | Deleted; | |
7fd59977 | 56 | |
d51c7072 | 57 | imported Status from BRepMesh; |
703a6abd O |
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 | ||
304c45c8 | 70 | imported Triangle from BRepMesh; |
71 | ||
703a6abd | 72 | class ShapeTool; |
0d88155b O |
73 | |
74 | class Circ; | |
75 | ||
703a6abd O |
76 | deferred class DiscretRoot; |
77 | class DiscretFactory; | |
78 | -- | |
79 | pointer PDiscretRoot to DiscretRoot from BRepMesh; | |
80 | -- | |
304c45c8 | 81 | imported Delaun from BRepMesh; |
0d88155b O |
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; | |
51c3cc5f O |
89 | imported VertexInspector from BRepMesh; |
90 | imported VertexCellFilter from BRepMesh; | |
91 | imported VectorOfVertex from BRepMesh; | |
9bdafcbe | 92 | imported EdgeChecker from BRepMesh; |
93 | imported FaceChecker from BRepMesh; | |
0d88155b | 94 | |
0b97567d K |
95 | primitive PluginEntryType; |
96 | ||
0d88155b O |
97 | class ComparatorOfVertexOfDelaun; |
98 | class ComparatorOfIndexedVertexOfDelaun; | |
99 | class SelectorOfDataStructureOfDelaun; | |
0d88155b O |
100 | class DataStructureOfDelaun; |
101 | class CircleTool; | |
51c3cc5f O |
102 | class VertexTool; |
103 | ||
0d88155b O |
104 | class Array1OfVertexOfDelaun instantiates Array1 from TCollection |
105 | (Vertex from BRepMesh); | |
106 | ||
107 | class HArray1OfVertexOfDelaun instantiates HArray1 from TCollection | |
108 | (Vertex from BRepMesh, Array1OfVertexOfDelaun); | |
109 | ||
110 | class HeapSortVertexOfDelaun instantiates HeapSort from SortTools | |
111 | (Vertex from BRepMesh, Array1OfVertexOfDelaun, | |
112 | ComparatorOfVertexOfDelaun from BRepMesh); | |
113 | ||
114 | class HeapSortIndexedVertexOfDelaun instantiates HeapSort from SortTools | |
115 | (Integer, Array1OfInteger from TColStd, | |
116 | ComparatorOfIndexedVertexOfDelaun from BRepMesh); | |
117 | ||
0d88155b O |
118 | class LinkHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection |
119 | (Edge from BRepMesh); | |
120 | class ElemHasherOfDataStructureOfDelaun instantiates MapHasher from TCollection | |
121 | (Triangle from BRepMesh); | |
122 | ||
51c3cc5f O |
123 | class DataMapOfIntegerListOfInteger instantiates DataMap from TCollection |
124 | (Integer from Standard, ListOfInteger from BRepMesh, MapIntegerHasher from TColStd); | |
125 | ||
0d88155b O |
126 | class IDMapOfLinkOfDataStructureOfDelaun instantiates IndexedDataMap from TCollection |
127 | (Edge from BRepMesh, | |
128 | PairOfIndex from BRepMesh, | |
129 | LinkHasherOfDataStructureOfDelaun); | |
130 | ||
131 | class IMapOfElementOfDataStructureOfDelaun instantiates IndexedMap from TCollection | |
132 | (Triangle from BRepMesh, | |
133 | ElemHasherOfDataStructureOfDelaun); | |
703a6abd O |
134 | |
135 | class DataMapOfVertexInteger instantiates DataMap from TCollection | |
136 | (Vertex from TopoDS, Integer from Standard, ShapeMapHasher from TopTools); | |
137 | ||
138 | class ListOfVertex instantiates List from TCollection | |
139 | (Vertex from BRepMesh); | |
304c45c8 | 140 | |
141 | class ListOfXY instantiates List from TCollection (XY from gp); | |
7fd59977 | 142 | |
703a6abd O |
143 | class DataMapOfIntegerListOfXY instantiates DataMap from TCollection |
144 | (Integer from Standard, ListOfXY from BRepMesh, MapIntegerHasher from TColStd); | |
7fd59977 | 145 | |
146 | ||
703a6abd | 147 | class VertexHasher instantiates MapHasher from TCollection(Vertex from BRepMesh); |
7fd59977 | 148 | |
703a6abd O |
149 | class IndexedMapOfVertex instantiates IndexedMap from TCollection |
150 | (Vertex from BRepMesh, VertexHasher from BRepMesh); | |
7fd59977 | 151 | |
152 | ||
703a6abd O |
153 | class BiPoint; |
154 | ||
155 | class Array1OfBiPoint instantiates Array1 from TCollection(BiPoint from BRepMesh); | |
7fd59977 | 156 | |
703a6abd O |
157 | private class FastDiscretFace; |
158 | ||
159 | class FastDiscret; | |
160 | ||
161 | class FaceAttribute; | |
162 | ||
163 | class DataMapOfFaceAttribute instantiates DataMap from TCollection | |
164 | (Face from TopoDS, | |
165 | FaceAttribute from BRepMesh, | |
166 | ShapeMapHasher from TopTools); | |
167 | ||
168 | private class Classifier; | |
169 | imported ClassifierPtr; -- smart pointer on Classifier | |
7fd59977 | 170 | |
9bdafcbe | 171 | imported IncrementalMesh from BRepMesh; |
172 | ||
7fd59977 | 173 | |
703a6abd O |
174 | ---- classes moved from MeshShape |
175 | class GeomTool; | |
7fd59977 | 176 | |
703a6abd O |
177 | class DataMapOfIntegerPnt instantiates |
178 | DataMap from TCollection (Integer from Standard, | |
179 | Pnt from gp, | |
180 | MapIntegerHasher from TColStd); | |
7fd59977 | 181 | |
703a6abd | 182 | class PairOfPolygon; |
7fd59977 | 183 | |
703a6abd O |
184 | class DataMapOfShapePairOfPolygon instantiates |
185 | DataMap from TCollection(Shape from TopoDS, | |
186 | PairOfPolygon from BRepMesh, | |
187 | ShapeMapHasher from TopTools); | |
7fd59977 | 188 | |
703a6abd O |
189 | Mesh(S: Shape from TopoDS; d: Real from Standard); |
190 | ---Purpose: call to incremental mesh. | |
7fd59977 | 191 | |
703a6abd | 192 | |
7fd59977 | 193 | end BRepMesh; |