Version: 9.12.0
ShHealOper_Sewing Class Reference

Class ShHealOper_Sewing.

#include <ShHealOper_Sewing.hxx>

Inheritance diagram for ShHealOper_Sewing:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_Sewing ()
 
Standard_EXPORT ShHealOper_Sewing (const TopoDS_Shape &theShape, const Standard_Real theTolerance)
 
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
 
Standard_EXPORT Standard_Boolean Perform ()
 
Standard_EXPORT Standard_Boolean Perform (const TopTools_SequenceOfShape &theSeqShapes)
 
void SetFacesMode (const Standard_Boolean theFacesMode)
 
Standard_Boolean GetFacesMode ()
 
void SetFloatingEdgesMode (const Standard_Boolean theEdgesMode)
 
Standard_Boolean GetFloatingEdgesMode ()
 
void SetNonManifoldMode (const Standard_Boolean theNonManifoldMode)
 
Standard_Boolean GetNonManifoldMode ()
 
void SetTolerance (const Standard_Real theToler)
 
Standard_Real GetTolerance ()
 
void SetHistoryLevel (TopAbs_ShapeEnum theHistLevel)
 
TopAbs_ShapeEnum GetHistoryLevel ()
 
- 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 sewing (const TopTools_SequenceOfShape &theSeqShapes)
 
Standard_Boolean getShells (const TopoDS_Shape &theSewShape) const
 
Standard_Boolean getWires (const TopoDS_Shape &theSewShape) const
 
Standard_Boolean getModifications (const TopoDS_Shape &theShape, const Handle(BRepBuilderAPI_Sewing)&theSewing) const
 
Standard_Boolean isSewed (const TopoDS_Shape &theShape) const
 
void deleteFreeEdges (const TopoDS_Shape &theSewShape, TopTools_MapOfShape &theMapEdges, TopoDS_Compound &theNewComp) const
 

Private Attributes

Standard_Boolean myNonManifoldMode
 
Standard_Boolean myEdgesMode
 
Standard_Boolean myFacesMode
 
Standard_Real myTolerance
 
TopAbs_ShapeEnum myHistoryLevel
 

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_Sewing() [1/2]

Standard_EXPORT ShHealOper_Sewing::ShHealOper_Sewing ( )
inline

◆ ShHealOper_Sewing() [2/2]

ShHealOper_Sewing::ShHealOper_Sewing ( const TopoDS_Shape &  theShape,
const Standard_Real  theTolerance 
)

References Init(), and myTolerance.

Member Function Documentation

◆ deleteFreeEdges()

void ShHealOper_Sewing::deleteFreeEdges ( const TopoDS_Shape &  theSewShape,
TopTools_MapOfShape &  theMapEdges,
TopoDS_Compound &  theNewComp 
) const
private

◆ GetFacesMode()

Standard_Boolean ShHealOper_Sewing::GetFacesMode ( )
inline

References myFacesMode.

◆ GetFloatingEdgesMode()

Standard_Boolean ShHealOper_Sewing::GetFloatingEdgesMode ( )
inline

References myEdgesMode.

◆ GetHistoryLevel()

TopAbs_ShapeEnum ShHealOper_Sewing::GetHistoryLevel ( )
inline

References myHistoryLevel.

◆ getModifications()

Standard_Boolean ShHealOper_Sewing::getModifications ( const TopoDS_Shape &  theShape,
const Handle(BRepBuilderAPI_Sewing)&  theSewing 
) const
private

References myHistoryLevel.

◆ GetNonManifoldMode()

Standard_Boolean ShHealOper_Sewing::GetNonManifoldMode ( )
inline

References myNonManifoldMode.

◆ getShells()

Standard_Boolean ShHealOper_Sewing::getShells ( const TopoDS_Shape &  theSewShape) const
private

◆ GetTolerance()

Standard_Real ShHealOper_Sewing::GetTolerance ( )
inline

References myTolerance.

◆ getWires()

Standard_Boolean ShHealOper_Sewing::getWires ( const TopoDS_Shape &  theSewShape) const
private

◆ Init()

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

◆ isSewed()

Standard_Boolean ShHealOper_Sewing::isSewed ( const TopoDS_Shape &  theShape) const
private

◆ Perform() [1/2]

Standard_Boolean ShHealOper_Sewing::Perform ( )

References sewing().

◆ Perform() [2/2]

Standard_Boolean ShHealOper_Sewing::Perform ( const TopTools_SequenceOfShape &  theSeqShapes)

References sewing().

◆ SetFacesMode()

void ShHealOper_Sewing::SetFacesMode ( const Standard_Boolean  theFacesMode)
inline

References myFacesMode.

◆ SetFloatingEdgesMode()

void ShHealOper_Sewing::SetFloatingEdgesMode ( const Standard_Boolean  theEdgesMode)
inline

References myEdgesMode.

◆ SetHistoryLevel()

void ShHealOper_Sewing::SetHistoryLevel ( TopAbs_ShapeEnum  theHistLevel)
inline

References myHistoryLevel.

◆ SetNonManifoldMode()

void ShHealOper_Sewing::SetNonManifoldMode ( const Standard_Boolean  theNonManifoldMode)
inline

References myNonManifoldMode.

◆ SetTolerance()

void ShHealOper_Sewing::SetTolerance ( const Standard_Real  theToler)
inline

References myTolerance.

◆ sewing()

Member Data Documentation

◆ myEdgesMode

Standard_Boolean ShHealOper_Sewing::myEdgesMode
private

◆ myFacesMode

Standard_Boolean ShHealOper_Sewing::myFacesMode
private

◆ myHistoryLevel

TopAbs_ShapeEnum ShHealOper_Sewing::myHistoryLevel
private

◆ myNonManifoldMode

Standard_Boolean ShHealOper_Sewing::myNonManifoldMode
private

◆ myTolerance

Standard_Real ShHealOper_Sewing::myTolerance
private

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