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>
125 const TopoDS_Shape& theFace);
130 const TopoDS_Shape& theEdge1,
131 const TopoDS_Shape& theEdge2);
137 const TopoDS_Shape& theVertex1,
138 const TopoDS_Shape& theVertex2,
139 const TopoDS_Shape& theVertex3);
146 const TopoDS_Shape& theFace2);
152 TopoDS_Shape
GetVertex (
const Standard_Integer theVertexID);
154 Standard_Integer
GetVertexID (
const TopoDS_Shape& theVertex);
156 Standard_Integer
GetVertexID (
const Standard_Integer theFaceID,
157 const Standard_Integer theVertexNB);
160 const Standard_Integer theVertexNB);
163 TopoDS_Shape
GetEdge (
const Standard_Integer theEdgeID,
164 const Standard_Boolean doMake = Standard_False);
166 Standard_Integer
GetEdgeID (
const TopoDS_Shape& theEdge);
168 Standard_Integer
GetEdgeID (
const Standard_Integer theFaceID,
169 const Standard_Integer theEdgeNB);
171 Standard_Integer
FindEdgeID (
const Standard_Integer theVertex1ID,
172 const Standard_Integer theVertex2ID);
175 const Standard_Integer theFace2ID);
178 TopoDS_Shape
GetFace (
const Standard_Integer theFaceID,
179 const Standard_Boolean doMake = Standard_False);
181 Standard_Integer
GetFaceID (
const TopoDS_Shape& theFace);
183 Standard_Integer
FindFaceID (
const Standard_Integer theEdge1ID,
184 const Standard_Integer theEdge2ID);
189 Standard_Boolean
IsSimilarFaces (
const Standard_Integer theFace1ID,
190 const Standard_Integer theFace2ID,
191 const gp_Trsf theTransformation);
197 const TopAbs_ShapeEnum TS,
198 const TopAbs_ShapeEnum TA,
199 TopTools_IndexedDataMapOfShapeListOfShape& M);
202 const TopoDS_Shape& E2);
204 static Standard_Integer
FindEdge (TopoDS_Shape& theResult,
205 const TopoDS_Shape& V1,
206 const TopoDS_Shape& V2,
207 const TopTools_IndexedDataMapOfShapeListOfShape& MVE,
208 const Standard_Boolean findAll = Standard_False);
211 static Standard_Integer
FindFace (TopoDS_Shape& theResult,
212 const TopoDS_Shape& V1,
213 const TopoDS_Shape& V2,
214 const TopoDS_Shape& V3,
215 const TopoDS_Shape& V4,
216 const TopTools_IndexedDataMapOfShapeListOfShape& MVF,
217 const Standard_Boolean findAll = Standard_False);
229 static TCollection_AsciiString
MakeFace (
const TopoDS_Wire& theWire,
230 const Standard_Boolean isPlanarWanted,
231 TopoDS_Shape& theResult);
239 static TCollection_AsciiString
MakeAnyFace (
const TopoDS_Wire& theWire,
240 TopoDS_Shape& theResult);
Definition: GEOMImpl_Block6Explorer.hxx:111
void InitByBlock(const TopoDS_Shape &theBlock)
Definition: GEOMImpl_Block6Explorer.cxx:498
void InitByBlockAndEdges(const TopoDS_Shape &theBlock, const TopoDS_Shape &theEdge1, const TopoDS_Shape &theEdge2)
Definition: GEOMImpl_Block6Explorer.cxx:556
static Standard_Integer FindFace(TopoDS_Shape &theResult, const TopoDS_Shape &V1, const TopoDS_Shape &V2, const TopoDS_Shape &V3, const TopoDS_Shape &V4, const TopTools_IndexedDataMapOfShapeListOfShape &MVF, const Standard_Boolean findAll=Standard_False)
Definition: GEOMImpl_Block6Explorer.cxx:1179
Standard_Integer GetFaceID(const TopoDS_Shape &theFace)
Definition: GEOMImpl_Block6Explorer.cxx:383
TopoDS_Shape GetEdge(const Standard_Integer theEdgeID, const Standard_Boolean doMake=Standard_False)
Definition: GEOMImpl_Block6Explorer.cxx:278
void InitByTwoFaces(const TopoDS_Shape &theFace1, const TopoDS_Shape &theFace2)
Definition: GEOMImpl_Block6Explorer.cxx:878
TopTools_Array1OfShape myVertices
Definition: GEOMImpl_Block6Explorer.hxx:247
static Standard_Boolean IsSimilarEdges(const TopoDS_Shape &E1, const TopoDS_Shape &E2)
Definition: GEOMImpl_Block6Explorer.cxx:1127
Standard_Integer FindFaceID(const Standard_Integer theEdge1ID, const Standard_Integer theEdge2ID)
Definition: GEOMImpl_Block6Explorer.cxx:396
Standard_Integer GetVertexID(const TopoDS_Shape &theVertex)
Definition: GEOMImpl_Block6Explorer.cxx:244
Standard_Integer FindEdgeID(const Standard_Integer theVertex1ID, const Standard_Integer theVertex2ID)
Definition: GEOMImpl_Block6Explorer.cxx:324
static void MapShapesAndAncestors(const TopoDS_Shape &S, const TopAbs_ShapeEnum TS, const TopAbs_ShapeEnum TA, TopTools_IndexedDataMapOfShapeListOfShape &M)
Definition: GEOMImpl_Block6Explorer.cxx:1089
void InitByBlockAndFace(const TopoDS_Shape &theBlock, const TopoDS_Shape &theFace)
Definition: GEOMImpl_Block6Explorer.cxx:515
TopoDS_Shape GetVertex(const Standard_Integer theVertexID)
Definition: GEOMImpl_Block6Explorer.cxx:233
GEOMImpl_Block6Explorer()
Definition: GEOMImpl_Block6Explorer.cxx:224
static Standard_Integer FindEdge(TopoDS_Shape &theResult, const TopoDS_Shape &V1, const TopoDS_Shape &V2, const TopTools_IndexedDataMapOfShapeListOfShape &MVE, const Standard_Boolean findAll=Standard_False)
Definition: GEOMImpl_Block6Explorer.cxx:1148
Standard_Boolean IsSimilarFaces(const Standard_Integer theFace1ID, const Standard_Integer theFace2ID, const gp_Trsf theTransformation)
Definition: GEOMImpl_Block6Explorer.cxx:424
Standard_Integer FindCommonEdgeID(const Standard_Integer theFace1ID, const Standard_Integer theFace2ID)
Definition: GEOMImpl_Block6Explorer.cxx:335
TopoDS_Shape GetFace(const Standard_Integer theFaceID, const Standard_Boolean doMake=Standard_False)
Definition: GEOMImpl_Block6Explorer.cxx:345
Standard_Integer GetVertexOnEdgeID(const Standard_Integer theEdgeID, const Standard_Integer theVertexNB)
Definition: GEOMImpl_Block6Explorer.cxx:268
Standard_Integer GetEdgeID(const TopoDS_Shape &theEdge)
Definition: GEOMImpl_Block6Explorer.cxx:301
void InitByBlockAndVertices(const TopoDS_Shape &theBlock, const TopoDS_Shape &theVertex1, const TopoDS_Shape &theVertex2, const TopoDS_Shape &theVertex3)
Definition: GEOMImpl_Block6Explorer.cxx:663
TopTools_Array1OfShape myEdges
Definition: GEOMImpl_Block6Explorer.hxx:246
static TCollection_AsciiString MakeFace(const TopoDS_Wire &theWire, const Standard_Boolean isPlanarWanted, TopoDS_Shape &theResult)
Definition: GEOMImpl_Block6Explorer.cxx:1223
TopTools_Array1OfShape myFaces
Definition: GEOMImpl_Block6Explorer.hxx:245
Standard_Integer GetOppositeFaceID(const Standard_Integer theFaceID)
Definition: GEOMImpl_Block6Explorer.cxx:406
static TCollection_AsciiString MakeAnyFace(const TopoDS_Wire &theWire, TopoDS_Shape &theResult)
Definition: GEOMImpl_Block6Explorer.cxx:1299