Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ( )

Member Function Documentation

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

References edge_id_faces().

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
Standard_Integer GEOMImpl_Block6Explorer::FindEdgeID ( const Standard_Integer  theVertex1ID,
const Standard_Integer  theVertex2ID 
)

References edge_id_vertices().

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
Standard_Integer GEOMImpl_Block6Explorer::FindFaceID ( const Standard_Integer  theEdge1ID,
const Standard_Integer  theEdge2ID 
)

References face_id_edges().

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

References myEdges, and NBEDGES.

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

References edge_id().

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

References myFaces, and NBFACES.

Standard_Integer GEOMImpl_Block6Explorer::GetOppositeFaceID ( const Standard_Integer  theFaceID)

References NBFACES.

TopoDS_Shape GEOMImpl_Block6Explorer::GetVertex ( const Standard_Integer  theVertexID)

References myVertices, and NBVERTS.

Standard_Integer GEOMImpl_Block6Explorer::GetVertexID ( const TopoDS_Shape &  theVertex)

References myVertices, and NBVERTS.

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

References vertex_id().

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

References vertex_id_edge().

void GEOMImpl_Block6Explorer::InitByBlock ( const TopoDS_Shape &  theBlock)

References InitByBlockAndFace().

void GEOMImpl_Block6Explorer::InitByBlockAndEdges ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theEdge1,
const TopoDS_Shape &  theEdge2 
)
void GEOMImpl_Block6Explorer::InitByBlockAndFace ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theFace 
)
void GEOMImpl_Block6Explorer::InitByBlockAndVertices ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theVertex1,
const TopoDS_Shape &  theVertex2,
const TopoDS_Shape &  theVertex3 
)
void GEOMImpl_Block6Explorer::InitByTwoFaces ( const TopoDS_Shape &  theFace1,
const TopoDS_Shape &  theFace2 
)
Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarEdges ( const TopoDS_Shape &  E1,
const TopoDS_Shape &  E2 
)
static

References GEOM::Vertices.

Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarFaces ( const Standard_Integer  theFace1ID,
const Standard_Integer  theFace2ID,
const gp_Trsf  theTransformation 
)
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 anEdge, aTol, Handle(), ShHealOper_ShapeProcess::isDone(), and ShHealOper_ShapeProcess::Perform().

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 aTol, MakeAnyFace(), and PLANAR_FACE_MAX_TOLERANCE.

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

Member Data Documentation

TopTools_Array1OfShape GEOMImpl_Block6Explorer::myEdges
private
TopTools_Array1OfShape GEOMImpl_Block6Explorer::myFaces
private
TopTools_Array1OfShape GEOMImpl_Block6Explorer::myVertices
private

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