Version: 9.12.0
GEOMImpl_Block6Explorer Class Reference

#include <GEOMImpl_Block6Explorer.hxx>

Public Member Functions

 GEOMImpl_Block6Explorer ()
 
void InitByBlock (const TopoDS_Shape &theBlock)
 
void InitByBlockAndFace (const TopoDS_Shape &theBlock, const TopoDS_Shape &theFace)
 
void InitByBlockAndEdges (const TopoDS_Shape &theBlock, const TopoDS_Shape &theEdge1, const TopoDS_Shape &theEdge2)
 
void InitByBlockAndVertices (const TopoDS_Shape &theBlock, const TopoDS_Shape &theVertex1, const TopoDS_Shape &theVertex2, const TopoDS_Shape &theVertex3)
 
void InitByTwoFaces (const TopoDS_Shape &theFace1, const TopoDS_Shape &theFace2)
 
TopoDS_Shape GetVertex (const Standard_Integer theVertexID)
 
Standard_Integer GetVertexID (const TopoDS_Shape &theVertex)
 
Standard_Integer GetVertexID (const Standard_Integer theFaceID, const Standard_Integer theVertexNB)
 
Standard_Integer GetVertexOnEdgeID (const Standard_Integer theEdgeID, const Standard_Integer theVertexNB)
 
TopoDS_Shape GetEdge (const Standard_Integer theEdgeID, const Standard_Boolean doMake=Standard_False)
 
Standard_Integer GetEdgeID (const TopoDS_Shape &theEdge)
 
Standard_Integer GetEdgeID (const Standard_Integer theFaceID, const Standard_Integer theEdgeNB)
 
Standard_Integer FindEdgeID (const Standard_Integer theVertex1ID, const Standard_Integer theVertex2ID)
 
Standard_Integer FindCommonEdgeID (const Standard_Integer theFace1ID, const Standard_Integer theFace2ID)
 
TopoDS_Shape GetFace (const Standard_Integer theFaceID, const Standard_Boolean doMake=Standard_False)
 
Standard_Integer GetFaceID (const TopoDS_Shape &theFace)
 
Standard_Integer FindFaceID (const Standard_Integer theEdge1ID, const Standard_Integer theEdge2ID)
 
Standard_Integer GetOppositeFaceID (const Standard_Integer theFaceID)
 
Standard_Boolean IsSimilarFaces (const Standard_Integer theFace1ID, const Standard_Integer theFace2ID, const gp_Trsf theTransformation)
 

Static Public Member Functions

static void MapShapesAndAncestors (const TopoDS_Shape &S, const TopAbs_ShapeEnum TS, const TopAbs_ShapeEnum TA, TopTools_IndexedDataMapOfShapeListOfShape &M)
 
static Standard_Boolean IsSimilarEdges (const TopoDS_Shape &E1, const TopoDS_Shape &E2)
 
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)
 
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)
 
static TCollection_AsciiString MakeFace (const TopoDS_Wire &theWire, const Standard_Boolean isPlanarWanted, TopoDS_Shape &theResult)
 
static TCollection_AsciiString MakeAnyFace (const TopoDS_Wire &theWire, TopoDS_Shape &theResult)
 

Private Attributes

TopTools_Array1OfShape myFaces
 
TopTools_Array1OfShape myEdges
 
TopTools_Array1OfShape myVertices
 

Constructor & Destructor Documentation

◆ GEOMImpl_Block6Explorer()

GEOMImpl_Block6Explorer::GEOMImpl_Block6Explorer ( )

Member Function Documentation

◆ FindCommonEdgeID()

Standard_Integer GEOMImpl_Block6Explorer::FindCommonEdgeID ( const Standard_Integer  theFace1ID,
const Standard_Integer  theFace2ID 
)

References edge_id_faces().

◆ FindEdge()

Standard_Integer GEOMImpl_Block6Explorer::FindEdge ( TopoDS_Shape &  theResult,
const TopoDS_Shape &  V1,
const TopoDS_Shape &  V2,
const TopTools_IndexedDataMapOfShapeListOfShape &  MVE,
const Standard_Boolean  findAll = Standard_False 
)
static

◆ FindEdgeID()

Standard_Integer GEOMImpl_Block6Explorer::FindEdgeID ( const Standard_Integer  theVertex1ID,
const Standard_Integer  theVertex2ID 
)

References edge_id_vertices().

◆ FindFace()

Standard_Integer GEOMImpl_Block6Explorer::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 
)
static

◆ FindFaceID()

Standard_Integer GEOMImpl_Block6Explorer::FindFaceID ( const Standard_Integer  theEdge1ID,
const Standard_Integer  theEdge2ID 
)

References face_id_edges().

◆ GetEdge()

TopoDS_Shape GEOMImpl_Block6Explorer::GetEdge ( const Standard_Integer  theEdgeID,
const Standard_Boolean  doMake = Standard_False 
)

◆ GetEdgeID() [1/2]

Standard_Integer GEOMImpl_Block6Explorer::GetEdgeID ( const Standard_Integer  theFaceID,
const Standard_Integer  theEdgeNB 
)

References edge_id().

◆ GetEdgeID() [2/2]

Standard_Integer GEOMImpl_Block6Explorer::GetEdgeID ( const TopoDS_Shape &  theEdge)

References myEdges, and NBEDGES.

◆ GetFace()

TopoDS_Shape GEOMImpl_Block6Explorer::GetFace ( const Standard_Integer  theFaceID,
const Standard_Boolean  doMake = Standard_False 
)

◆ GetFaceID()

Standard_Integer GEOMImpl_Block6Explorer::GetFaceID ( const TopoDS_Shape &  theFace)

References myFaces, and NBFACES.

◆ GetOppositeFaceID()

Standard_Integer GEOMImpl_Block6Explorer::GetOppositeFaceID ( const Standard_Integer  theFaceID)

References NBFACES.

◆ GetVertex()

TopoDS_Shape GEOMImpl_Block6Explorer::GetVertex ( const Standard_Integer  theVertexID)

References myVertices, and NBVERTS.

◆ GetVertexID() [1/2]

Standard_Integer GEOMImpl_Block6Explorer::GetVertexID ( const Standard_Integer  theFaceID,
const Standard_Integer  theVertexNB 
)

References vertex_id().

◆ GetVertexID() [2/2]

Standard_Integer GEOMImpl_Block6Explorer::GetVertexID ( const TopoDS_Shape &  theVertex)

References myVertices, and NBVERTS.

◆ GetVertexOnEdgeID()

Standard_Integer GEOMImpl_Block6Explorer::GetVertexOnEdgeID ( const Standard_Integer  theEdgeID,
const Standard_Integer  theVertexNB 
)

References vertex_id_edge().

◆ InitByBlock()

void GEOMImpl_Block6Explorer::InitByBlock ( const TopoDS_Shape &  theBlock)

References InitByBlockAndFace().

◆ InitByBlockAndEdges()

void GEOMImpl_Block6Explorer::InitByBlockAndEdges ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theEdge1,
const TopoDS_Shape &  theEdge2 
)

◆ InitByBlockAndFace()

void GEOMImpl_Block6Explorer::InitByBlockAndFace ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theFace 
)

◆ InitByBlockAndVertices()

void GEOMImpl_Block6Explorer::InitByBlockAndVertices ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theVertex1,
const TopoDS_Shape &  theVertex2,
const TopoDS_Shape &  theVertex3 
)

◆ InitByTwoFaces()

void GEOMImpl_Block6Explorer::InitByTwoFaces ( const TopoDS_Shape &  theFace1,
const TopoDS_Shape &  theFace2 
)

◆ IsSimilarEdges()

Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarEdges ( const TopoDS_Shape &  E1,
const TopoDS_Shape &  E2 
)
static

References GEOM::Vertices.

◆ IsSimilarFaces()

Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarFaces ( const Standard_Integer  theFace1ID,
const Standard_Integer  theFace2ID,
const gp_Trsf  theTransformation 
)

◆ MakeAnyFace()

TCollection_AsciiString GEOMImpl_Block6Explorer::MakeAnyFace ( const TopoDS_Wire &  theWire,
TopoDS_Shape &  theResult 
)
static

Build a face, bound by the given wire.

Parameters
theWireThe initial wire to build the face on.
theResultThe resulting shape.
Returns
Error or warning description. Empty string in case of success.

References Handle(), ShHealOper_ShapeProcess::isDone(), ShHealOper_ShapeProcess::Perform(), and ShHealOper_ShapeProcess::SetParameter().

◆ MakeFace()

TCollection_AsciiString GEOMImpl_Block6Explorer::MakeFace ( const TopoDS_Wire &  theWire,
const Standard_Boolean  isPlanarWanted,
TopoDS_Shape &  theResult 
)
static

Build a face, bound by the given wire.

Parameters
theWireThe initial wire to build the face on.
isPlanarWantedIf true, try to build a planar face.
Note
If isPlanarWanted is true, but planar face cannot be built with acceptable tolerance, any face will be built.
Parameters
theResultThe resulting shape.
Returns
Error or warning description. Empty string in case of success.

References MakeAnyFace(), and PLANAR_FACE_MAX_TOLERANCE.

◆ MapShapesAndAncestors()

void GEOMImpl_Block6Explorer::MapShapesAndAncestors ( const TopoDS_Shape &  S,
const TopAbs_ShapeEnum  TS,
const TopAbs_ShapeEnum  TA,
TopTools_IndexedDataMapOfShapeListOfShape &  M 
)
static

Member Data Documentation

◆ myEdges

TopTools_Array1OfShape GEOMImpl_Block6Explorer::myEdges
private

◆ myFaces

TopTools_Array1OfShape GEOMImpl_Block6Explorer::myFaces
private

◆ myVertices

TopTools_Array1OfShape GEOMImpl_Block6Explorer::myVertices
private

The documentation for this class was generated from the following files: