26 #ifndef GEOMImpl_Block6Explorer_HeaderFile
27 #define GEOMImpl_Block6Explorer_HeaderFile
29 #include <TopoDS_Shape.hxx>
30 #include <TopoDS_Wire.hxx>
31 #include <TopTools_Array1OfShape.hxx>
32 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
33 #include <TCollection_AsciiString.hxx>
34 #include <gp_Trsf.hxx>
123 const TopoDS_Shape& theFace);
128 const TopoDS_Shape& theEdge1,
129 const TopoDS_Shape& theEdge2);
135 const TopoDS_Shape& theVertex1,
136 const TopoDS_Shape& theVertex2,
137 const TopoDS_Shape& theVertex3);
144 const TopoDS_Shape& theFace2);
150 TopoDS_Shape
GetVertex (
const Standard_Integer theVertexID);
152 Standard_Integer
GetVertexID (
const TopoDS_Shape& theVertex);
154 Standard_Integer
GetVertexID (
const Standard_Integer theFaceID,
155 const Standard_Integer theVertexNB);
158 const Standard_Integer theVertexNB);
161 TopoDS_Shape
GetEdge (
const Standard_Integer theEdgeID,
162 const Standard_Boolean doMake = Standard_False);
164 Standard_Integer
GetEdgeID (
const TopoDS_Shape& theEdge);
166 Standard_Integer
GetEdgeID (
const Standard_Integer theFaceID,
167 const Standard_Integer theEdgeNB);
169 Standard_Integer
FindEdgeID (
const Standard_Integer theVertex1ID,
170 const Standard_Integer theVertex2ID);
173 const Standard_Integer theFace2ID);
176 TopoDS_Shape
GetFace (
const Standard_Integer theFaceID,
177 const Standard_Boolean doMake = Standard_False);
179 Standard_Integer
GetFaceID (
const TopoDS_Shape& theFace);
181 Standard_Integer
FindFaceID (
const Standard_Integer theEdge1ID,
182 const Standard_Integer theEdge2ID);
187 Standard_Boolean
IsSimilarFaces (
const Standard_Integer theFace1ID,
188 const Standard_Integer theFace2ID,
189 const gp_Trsf theTransformation);
195 const TopAbs_ShapeEnum TS,
196 const TopAbs_ShapeEnum TA,
197 TopTools_IndexedDataMapOfShapeListOfShape& M);
200 const TopoDS_Shape& E2);
202 static Standard_Integer
FindEdge (TopoDS_Shape& theResult,
203 const TopoDS_Shape& V1,
204 const TopoDS_Shape& V2,
205 const TopTools_IndexedDataMapOfShapeListOfShape& MVE,
206 const Standard_Boolean findAll = Standard_False);
209 static Standard_Integer
FindFace (TopoDS_Shape& theResult,
210 const TopoDS_Shape& V1,
211 const TopoDS_Shape& V2,
212 const TopoDS_Shape& V3,
213 const TopoDS_Shape& V4,
214 const TopTools_IndexedDataMapOfShapeListOfShape& MVF,
215 const Standard_Boolean findAll = Standard_False);
227 static TCollection_AsciiString
MakeFace (
const TopoDS_Wire& theWire,
228 const Standard_Boolean isPlanarWanted,
229 TopoDS_Shape& theResult);
237 static TCollection_AsciiString
MakeAnyFace (
const TopoDS_Wire& theWire,
238 TopoDS_Shape& theResult);