Version: 9.12.0
ShHealOper_RemoveFace Class Reference

Class ShHealOper_RemoveFace.

#include <ShHealOper_RemoveFace.hxx>

Inheritance diagram for ShHealOper_RemoveFace:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_RemoveFace ()
 
Standard_EXPORT ShHealOper_RemoveFace (const TopoDS_Shape &theShape)
 
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
 
Standard_EXPORT Standard_Boolean Perform ()
 
Standard_EXPORT Standard_Boolean Perform (const TopTools_SequenceOfShape &theRemovedFaces)
 
- Public Member Functions inherited from ShHealOper_Tool
Standard_EXPORT ShHealOper_Tool ()
 Empty constructor. More...
 
Standard_EXPORT ShHealOper_Tool (const TopoDS_Shape &theShape)
 
const TopoDS_Shape & GetResultShape () const
 
Standard_Boolean GetModifiedShape (const TopoDS_Shape &theOldShape, TopoDS_Shape &theNewShape) const
 
Standard_Boolean IsDone () const
 
void SetContext (Handle(ShapeBuild_ReShape)&theContext)
 
 Handle (ShapeBuild_ReShape) Context()
 
Standard_Integer GetErrorStatus ()
 
ShHealOper_ModifStatsGetStatistics ()
 
const ShHealOper_ModifStatsGetStatistics () const
 

Private Member Functions

Standard_Boolean removeFaces (const TopoDS_Shape &theShape, TopoDS_Shape &theNewShape)
 
Standard_Boolean removeFaces (const TopoDS_Solid &theShape, TopoDS_Shape &theNewShape)
 
Standard_Boolean removeFaces (const TopoDS_Shell &theShell, TopoDS_Shape &theNewShape)
 
Standard_Boolean isReplace (const TopoDS_Shape &theOldShape, TopoDS_Shape &theNewShape)
 
void removePCurve (const TopoDS_Face &theFace)
 
Standard_Boolean isManifold (const TopoDS_Shell &aShell)
 

Private Attributes

TopTools_MapOfShape myMapFaces
 
TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace
 

Additional Inherited Members

- Protected Member Functions inherited from ShHealOper_Tool
 Handle (ShapeBuild_ReShape) myContext
 
- Protected Attributes inherited from ShHealOper_Tool
TopoDS_Shape myInitShape
 
TopoDS_Shape myResultShape
 
Standard_Boolean myDone
 
ShHealOper_Error myErrorStatus
 
ShHealOper_ModifStats myStatistics
 

Constructor & Destructor Documentation

◆ ShHealOper_RemoveFace() [1/2]

ShHealOper_RemoveFace::ShHealOper_RemoveFace ( )

◆ ShHealOper_RemoveFace() [2/2]

ShHealOper_RemoveFace::ShHealOper_RemoveFace ( const TopoDS_Shape &  theShape)

References Init().

Member Function Documentation

◆ Init()

void ShHealOper_RemoveFace::Init ( const TopoDS_Shape &  theShape)
virtual

Reimplemented from ShHealOper_Tool.

References ShHealOper_Tool::Init(), and myMapEdgesFace.

◆ isManifold()

Standard_Boolean ShHealOper_RemoveFace::isManifold ( const TopoDS_Shell &  aShell)
private

References myMapEdgesFace.

◆ isReplace()

Standard_Boolean ShHealOper_RemoveFace::isReplace ( const TopoDS_Shape &  theOldShape,
TopoDS_Shape &  theNewShape 
)
private

References getResultShell().

◆ Perform() [1/2]

◆ Perform() [2/2]

Standard_Boolean ShHealOper_RemoveFace::Perform ( const TopTools_SequenceOfShape &  theRemovedFaces)

◆ removeFaces() [1/3]

Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Shape &  theShape,
TopoDS_Shape &  theNewShape 
)
private

References myMapFaces, and removePCurve().

◆ removeFaces() [2/3]

Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Shell &  theShell,
TopoDS_Shape &  theNewShape 
)
private

◆ removeFaces() [3/3]

Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Solid &  theShape,
TopoDS_Shape &  theNewShape 
)
private

◆ removePCurve()

void ShHealOper_RemoveFace::removePCurve ( const TopoDS_Face &  theFace)
private

Member Data Documentation

◆ myMapEdgesFace

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_RemoveFace::myMapEdgesFace
private

◆ myMapFaces

TopTools_MapOfShape ShHealOper_RemoveFace::myMapFaces
private

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