OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRepBuild


TopOpeBRepBuild_Builder1 Class Reference

extension of the class TopOpeBRepBuild_Builder dedicated
to avoid bugs in "Rebuilding Result" algorithm for the case of SOLID/SOLID Boolean Operations

#include <TopOpeBRepBuild_Builder1.hxx>

Inheritance diagram for TopOpeBRepBuild_Builder1:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT TopOpeBRepBuild_Builder1 (const TopOpeBRepDS_BuildTool &BT)
virtual Standard_EXPORT void Destroy ()
virtual Standard_EXPORT ~TopOpeBRepBuild_Builder1 ()
virtual Standard_EXPORT void Clear ()
 Removes all splits and merges already performed.
Does NOT clear the handled DS (except ShapeWithStatesMaps).
.
virtual Standard_EXPORT void Perform (const Handle(TopOpeBRepDS_HDataStructure)&HDS)
 Stores the data structure <hds>,
Create shapes from the new geometries.
.
virtual Standard_EXPORT void Perform (const Handle(TopOpeBRepDS_HDataStructure)&HDS, const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 Stores the data structure <hds>,
Create shapes from the new geometries,
Evaluates if an operation performed on shapes S1,S2
is a particular case.
.
virtual Standard_EXPORT void MergeKPart ()
virtual Standard_EXPORT void MergeKPart (const TopAbs_State TB1, const TopAbs_State TB2)
virtual Standard_EXPORT void GFillSolidSFS (const TopoDS_Shape &SO1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
virtual Standard_EXPORT void GFillShellSFS (const TopoDS_Shape &SH1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
virtual Standard_EXPORT void GWESMakeFaces (const TopoDS_Shape &FF, TopOpeBRepBuild_WireEdgeSet &WES, TopTools_ListOfShape &LOF)
Standard_EXPORT void GFillSplitsPVS (const TopoDS_Shape &anEdge, const TopOpeBRepBuild_GTopo &G1, TopOpeBRepBuild_PaveSet &PVS)
Standard_EXPORT void GFillFaceNotSameDomSFS (const TopoDS_Shape &F1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
Standard_EXPORT void GFillFaceNotSameDomWES (const TopoDS_Shape &F1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void GFillWireNotSameDomWES (const TopoDS_Shape &W1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void GFillEdgeNotSameDomWES (const TopoDS_Shape &E1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void GFillFaceSameDomSFS (const TopoDS_Shape &F1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_ShellFaceSet &SFS)
Standard_EXPORT void GFillFaceSameDomWES (const TopoDS_Shape &F1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void GFillWireSameDomWES (const TopoDS_Shape &W1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void GFillEdgeSameDomWES (const TopoDS_Shape &E1, const TopTools_ListOfShape &LSO2, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void PerformONParts (const TopoDS_Shape &F, const TopTools_IndexedMapOfShape &SDfaces, const TopOpeBRepBuild_GTopo &G, TopOpeBRepBuild_WireEdgeSet &WES)
Standard_EXPORT void PerformPieceIn2D (const TopoDS_Edge &aPieceToPerform, const TopoDS_Edge &aOriginalEdge, const TopoDS_Face &edgeFace, const TopoDS_Face &toFace, const TopOpeBRepBuild_GTopo &G, Standard_Boolean &keep)
Standard_EXPORT Standard_Integer PerformPieceOn2D (const TopoDS_Shape &aPieceObj, const TopoDS_Shape &aFaceObj, const TopoDS_Shape &aEdgeObj, TopTools_ListOfShape &aListOfPieces, TopTools_ListOfShape &aListOfFaces, TopTools_ListOfShape &aListOfPiecesOut2d)
Standard_EXPORT Standard_Integer TwoPiecesON (const TopTools_SequenceOfShape &aSeq, TopTools_ListOfShape &aListOfPieces, TopTools_ListOfShape &aListOfFaces, TopTools_ListOfShape &aListOfPiecesOut2d)
Standard_EXPORT Standard_Integer CorrectResult2d (TopoDS_Shape &aResult)

Protected Member Functions

Standard_EXPORT void PerformShapeWithStates ()
Standard_EXPORT void PerformShapeWithStates (const TopoDS_Shape &anObj, const TopoDS_Shape &aTool)
Standard_EXPORT void StatusEdgesToSplit (const TopoDS_Shape &anObj, const TopTools_IndexedMapOfShape &anEdgesToSplitMap, const TopTools_IndexedMapOfShape &anEdgesToRestMap)
Standard_EXPORT void SplitEdge (const TopoDS_Shape &anEdge, TopTools_ListOfShape &aLNew, TopOpeBRepDS_DataMapOfShapeState &aDataMapOfShapeState)
Standard_EXPORT void PerformFacesWithStates (const TopoDS_Shape &anObj, const TopTools_IndexedMapOfShape &aFaces, TopOpeBRepDS_DataMapOfShapeState &aSplF)
Standard_EXPORT Standard_Integer IsSame2d (const TopTools_SequenceOfShape &aSeq, TopTools_ListOfShape &aListOfPiecesOut2d)
Standard_EXPORT void OrientateEdgeOnFace (TopoDS_Edge &EdgeToPerform, const TopoDS_Face &baseFace, const TopoDS_Face &edgeFace, const TopOpeBRepBuild_GTopo &G1, Standard_Boolean &stateOfFaceOri) const

Protected Attributes

TopTools_DataMapOfShapeListOfShape myFSplits
TopTools_DataMapOfShapeListOfShape myESplits

Private Attributes

TopTools_IndexedMapOfShape mySameDomMap
TopoDS_Shape mySDFaceToFill
TopoDS_Shape myBaseFaceToFill
TopTools_IndexedDataMapOfShapeListOfShape myMapOfEdgeFaces
TopTools_DataMapOfOrientedShapeInteger myMapOfEdgeWithFaceState
TopTools_IndexedMapOfShape myProcessedPartsOut2d
TopTools_IndexedMapOfShape myProcessedPartsON2d
TopTools_IndexedMapOfShape mySplitsONtoKeep
TopTools_IndexedMapOfOrientedShape mySourceShapes
TopTools_IndexedDataMapOfShapeShape myMapOfCorrect2dEdges

Constructor & Destructor Documentation

Standard_EXPORT TopOpeBRepBuild_Builder1::TopOpeBRepBuild_Builder1 const TopOpeBRepDS_BuildTool BT  ) 
 

virtual Standard_EXPORT TopOpeBRepBuild_Builder1::~TopOpeBRepBuild_Builder1  )  [inline, virtual]
 


Member Function Documentation

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::Clear  )  [virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT Standard_Integer TopOpeBRepBuild_Builder1::CorrectResult2d TopoDS_Shape &  aResult  ) 
 

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::Destroy  )  [virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillEdgeNotSameDomWES const TopoDS_Shape &  E1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillEdgeSameDomWES const TopoDS_Shape &  E1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillFaceNotSameDomSFS const TopoDS_Shape &  F1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_ShellFaceSet SFS
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillFaceNotSameDomWES const TopoDS_Shape &  F1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillFaceSameDomSFS const TopoDS_Shape &  F1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_ShellFaceSet SFS
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillFaceSameDomWES const TopoDS_Shape &  F1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillShellSFS const TopoDS_Shape &  SH1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_ShellFaceSet SFS
[virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillSolidSFS const TopoDS_Shape &  SO1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_ShellFaceSet SFS
[virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillSplitsPVS const TopoDS_Shape &  anEdge,
const TopOpeBRepBuild_GTopo G1,
TopOpeBRepBuild_PaveSet PVS
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillWireNotSameDomWES const TopoDS_Shape &  W1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::GFillWireSameDomWES const TopoDS_Shape &  W1,
const TopTools_ListOfShape &  LSO2,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::GWESMakeFaces const TopoDS_Shape &  FF,
TopOpeBRepBuild_WireEdgeSet WES,
TopTools_ListOfShape &  LOF
[virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT Standard_Integer TopOpeBRepBuild_Builder1::IsSame2d const TopTools_SequenceOfShape &  aSeq,
TopTools_ListOfShape &  aListOfPiecesOut2d
[protected]
 

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::MergeKPart const TopAbs_State  TB1,
const TopAbs_State  TB2
[virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::MergeKPart  )  [virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

void TopOpeBRepBuild_Builder1::operator delete void *  anAddress  )  [inline]
 

Reimplemented from TopOpeBRepBuild_Builder.

void* TopOpeBRepBuild_Builder1::operator new size_t  size  )  [inline]
 

Reimplemented from TopOpeBRepBuild_Builder.

void* TopOpeBRepBuild_Builder1::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT void TopOpeBRepBuild_Builder1::OrientateEdgeOnFace TopoDS_Edge &  EdgeToPerform,
const TopoDS_Face &  baseFace,
const TopoDS_Face &  edgeFace,
const TopOpeBRepBuild_GTopo G1,
Standard_Boolean stateOfFaceOri
const [protected]
 

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::Perform const Handle(TopOpeBRepDS_HDataStructure)&  HDS,
const TopoDS_Shape &  S1,
const TopoDS_Shape &  S2
[virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

virtual Standard_EXPORT void TopOpeBRepBuild_Builder1::Perform const Handle(TopOpeBRepDS_HDataStructure)&  HDS  )  [virtual]
 

Reimplemented from TopOpeBRepBuild_Builder.

Standard_EXPORT void TopOpeBRepBuild_Builder1::PerformFacesWithStates const TopoDS_Shape &  anObj,
const TopTools_IndexedMapOfShape &  aFaces,
TopOpeBRepDS_DataMapOfShapeState aSplF
[protected]
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::PerformONParts const TopoDS_Shape &  F,
const TopTools_IndexedMapOfShape &  SDfaces,
const TopOpeBRepBuild_GTopo G,
TopOpeBRepBuild_WireEdgeSet WES
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::PerformPieceIn2D const TopoDS_Edge &  aPieceToPerform,
const TopoDS_Edge &  aOriginalEdge,
const TopoDS_Face &  edgeFace,
const TopoDS_Face &  toFace,
const TopOpeBRepBuild_GTopo G,
Standard_Boolean keep
 

Standard_EXPORT Standard_Integer TopOpeBRepBuild_Builder1::PerformPieceOn2D const TopoDS_Shape &  aPieceObj,
const TopoDS_Shape &  aFaceObj,
const TopoDS_Shape &  aEdgeObj,
TopTools_ListOfShape &  aListOfPieces,
TopTools_ListOfShape &  aListOfFaces,
TopTools_ListOfShape &  aListOfPiecesOut2d
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::PerformShapeWithStates const TopoDS_Shape &  anObj,
const TopoDS_Shape &  aTool
[protected]
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::PerformShapeWithStates  )  [protected]
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::SplitEdge const TopoDS_Shape &  anEdge,
TopTools_ListOfShape &  aLNew,
TopOpeBRepDS_DataMapOfShapeState aDataMapOfShapeState
[protected]
 

Standard_EXPORT void TopOpeBRepBuild_Builder1::StatusEdgesToSplit const TopoDS_Shape &  anObj,
const TopTools_IndexedMapOfShape &  anEdgesToSplitMap,
const TopTools_IndexedMapOfShape &  anEdgesToRestMap
[protected]
 

Standard_EXPORT Standard_Integer TopOpeBRepBuild_Builder1::TwoPiecesON const TopTools_SequenceOfShape &  aSeq,
TopTools_ListOfShape &  aListOfPieces,
TopTools_ListOfShape &  aListOfFaces,
TopTools_ListOfShape &  aListOfPiecesOut2d
 


Field Documentation

TopoDS_Shape TopOpeBRepBuild_Builder1::myBaseFaceToFill [private]
 

TopTools_DataMapOfShapeListOfShape TopOpeBRepBuild_Builder1::myESplits [protected]
 

Reimplemented from TopOpeBRepBuild_Builder.

TopTools_DataMapOfShapeListOfShape TopOpeBRepBuild_Builder1::myFSplits [protected]
 

Reimplemented from TopOpeBRepBuild_Builder.

TopTools_IndexedDataMapOfShapeShape TopOpeBRepBuild_Builder1::myMapOfCorrect2dEdges [private]
 

TopTools_IndexedDataMapOfShapeListOfShape TopOpeBRepBuild_Builder1::myMapOfEdgeFaces [private]
 

TopTools_DataMapOfOrientedShapeInteger TopOpeBRepBuild_Builder1::myMapOfEdgeWithFaceState [private]
 

TopTools_IndexedMapOfShape TopOpeBRepBuild_Builder1::myProcessedPartsON2d [private]
 

TopTools_IndexedMapOfShape TopOpeBRepBuild_Builder1::myProcessedPartsOut2d [private]
 

TopTools_IndexedMapOfShape TopOpeBRepBuild_Builder1::mySameDomMap [private]
 

TopoDS_Shape TopOpeBRepBuild_Builder1::mySDFaceToFill [private]
 

TopTools_IndexedMapOfOrientedShape TopOpeBRepBuild_Builder1::mySourceShapes [private]
 

TopTools_IndexedMapOfShape TopOpeBRepBuild_Builder1::mySplitsONtoKeep [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:55 2008 for OpenCASCADE by  doxygen 1.4.1