Version: 6.3.1
Public Member Functions | Static Public Member Functions | Private Attributes

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 void MakeFace (const TopoDS_Wire &theWire, const Standard_Boolean isPlanarWanted, TopoDS_Shape &theResult)

Private Attributes

TopTools_Array1OfShape myFaces
TopTools_Array1OfShape myEdges
TopTools_Array1OfShape myVertices

Constructor & Destructor Documentation

GEOMImpl_Block6Explorer::GEOMImpl_Block6Explorer ( )

Member Function Documentation

void GEOMImpl_Block6Explorer::InitByBlock ( const TopoDS_Shape &  theBlock)

References InitByBlockAndFace().

void GEOMImpl_Block6Explorer::InitByBlockAndFace ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theFace 
)
void GEOMImpl_Block6Explorer::InitByBlockAndEdges ( const TopoDS_Shape &  theBlock,
const TopoDS_Shape &  theEdge1,
const TopoDS_Shape &  theEdge2 
)
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 
)
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().

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().

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

References edge_id_vertices().

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

References edge_id_faces().

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

References face_id_edges().

Standard_Integer GEOMImpl_Block6Explorer::GetOppositeFaceID ( const Standard_Integer  theFaceID)

References NBFACES.

Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarFaces ( const Standard_Integer  theFace1ID,
const Standard_Integer  theFace2ID,
const gp_Trsf  theTransformation 
)
void GEOMImpl_Block6Explorer::MapShapesAndAncestors ( const TopoDS_Shape &  S,
const TopAbs_ShapeEnum  TS,
const TopAbs_ShapeEnum  TA,
TopTools_IndexedDataMapOfShapeListOfShape &  M 
) [static]
Standard_Boolean GEOMImpl_Block6Explorer::IsSimilarEdges ( const TopoDS_Shape &  E1,
const TopoDS_Shape &  E2 
) [static]
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::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]
void GEOMImpl_Block6Explorer::MakeFace ( const TopoDS_Wire &  theWire,
const Standard_Boolean  isPlanarWanted,
TopoDS_Shape &  theResult 
) [static]

Field Documentation

TopTools_Array1OfShape GEOMImpl_Block6Explorer.myFaces [private]
TopTools_Array1OfShape GEOMImpl_Block6Explorer.myEdges [private]
TopTools_Array1OfShape GEOMImpl_Block6Explorer.myVertices [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS