Version: 9.12.0
ShHealOper_CloseContour Class Reference

Class ShHealOper_CloseContour.

#include <ShHealOper_CloseContour.hxx>

Inheritance diagram for ShHealOper_CloseContour:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_CloseContour ()
 
Standard_EXPORT ShHealOper_CloseContour (const TopoDS_Shape &theShape)
 
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
 
Standard_EXPORT Standard_Boolean Perform (const TopTools_SequenceOfShape &theSeqEdges, const Standard_Boolean theModeVertex=Standard_False, const Standard_Boolean theModeFixGapsCurves=Standard_True)
 
Standard_EXPORT Standard_Boolean Perform (const TopoDS_Wire &theWire, const Standard_Boolean theModeVertex=Standard_False, const Standard_Boolean theModeFixGapsCurves=Standard_True)
 
void SetTolerance (const Standard_Real theTolerance)
 
Standard_Real GetTolerance ()
 
void SetMaxTolerance (const Standard_Real theMaxTolerance)
 
Standard_Real GetMaxTolerance ()
 
void SetModeVertex (const Standard_Boolean theModeVertex)
 
Standard_Boolean GetModeVertex ()
 
- 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

void build (Handle(ShapeExtend_WireData)&theSewd)
 
Standard_Boolean fixGaps (const Handle(ShapeExtend_WireData)&theWire, const TopTools_SequenceOfShape &theCommonFaces)
 
Standard_Boolean checkOneFace (const Handle(ShapeExtend_WireData)&theSewd, TopTools_SequenceOfShape &theCommonFaces) const
 
void buildEdge (const TopoDS_Edge &aE1, const TopoDS_Edge &aE2, const TopTools_SequenceOfShape &theCommonFaces)
 
void updateWire (Handle(ShapeExtend_WireData)&sbwd)
 

Private Attributes

Standard_Boolean myModeVertex
 
Standard_Boolean myModeFixGapsCurves
 
Standard_Real myMaxTolerance
 
Standard_Real myTolerance
 
TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace
 
TopTools_SequenceOfShape myFreeEdges
 

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

Standard_EXPORT ShHealOper_CloseContour::ShHealOper_CloseContour ( )
inline

◆ ShHealOper_CloseContour() [2/2]

ShHealOper_CloseContour::ShHealOper_CloseContour ( const TopoDS_Shape &  theShape)

References Init().

Member Function Documentation

◆ build()

◆ buildEdge()

void ShHealOper_CloseContour::buildEdge ( const TopoDS_Edge &  aE1,
const TopoDS_Edge &  aE2,
const TopTools_SequenceOfShape &  theCommonFaces 
)
private

◆ checkOneFace()

Standard_Boolean ShHealOper_CloseContour::checkOneFace ( const Handle(ShapeExtend_WireData)&  theSewd,
TopTools_SequenceOfShape &  theCommonFaces 
) const
private

References myMapEdgesFace.

◆ fixGaps()

Standard_Boolean ShHealOper_CloseContour::fixGaps ( const Handle(ShapeExtend_WireData)&  theWire,
const TopTools_SequenceOfShape &  theCommonFaces 
)
private

◆ GetMaxTolerance()

Standard_Real ShHealOper_CloseContour::GetMaxTolerance ( )
inline

References myMaxTolerance.

◆ GetModeVertex()

Standard_Boolean ShHealOper_CloseContour::GetModeVertex ( )
inline

References myModeVertex.

◆ GetTolerance()

Standard_Real ShHealOper_CloseContour::GetTolerance ( )
inline

References myTolerance.

◆ Init()

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

◆ Perform() [1/2]

Standard_Boolean ShHealOper_CloseContour::Perform ( const TopoDS_Wire &  theWire,
const Standard_Boolean  theModeVertex = Standard_False,
const Standard_Boolean  theModeFixGapsCurves = Standard_True 
)

◆ Perform() [2/2]

Standard_Boolean ShHealOper_CloseContour::Perform ( const TopTools_SequenceOfShape &  theSeqEdges,
const Standard_Boolean  theModeVertex = Standard_False,
const Standard_Boolean  theModeFixGapsCurves = Standard_True 
)

◆ SetMaxTolerance()

void ShHealOper_CloseContour::SetMaxTolerance ( const Standard_Real  theMaxTolerance)
inline

References myMaxTolerance.

◆ SetModeVertex()

void ShHealOper_CloseContour::SetModeVertex ( const Standard_Boolean  theModeVertex)
inline

References myModeVertex.

◆ SetTolerance()

void ShHealOper_CloseContour::SetTolerance ( const Standard_Real  theTolerance)
inline

References myTolerance.

◆ updateWire()

void ShHealOper_CloseContour::updateWire ( Handle(ShapeExtend_WireData)&  sbwd)
private

References myFreeEdges.

Member Data Documentation

◆ myFreeEdges

TopTools_SequenceOfShape ShHealOper_CloseContour::myFreeEdges
private

◆ myMapEdgesFace

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_CloseContour::myMapEdgesFace
private

◆ myMaxTolerance

Standard_Real ShHealOper_CloseContour::myMaxTolerance
private

◆ myModeFixGapsCurves

Standard_Boolean ShHealOper_CloseContour::myModeFixGapsCurves
private

◆ myModeVertex

Standard_Boolean ShHealOper_CloseContour::myModeVertex
private

◆ myTolerance

Standard_Real ShHealOper_CloseContour::myTolerance
private

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