Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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

Standard_EXPORT ShHealOper_CloseContour::ShHealOper_CloseContour ( )
inline
ShHealOper_CloseContour::ShHealOper_CloseContour ( const TopoDS_Shape &  theShape)

References Init().

Member Function Documentation

void ShHealOper_CloseContour::buildEdge ( const TopoDS_Edge &  aE1,
const TopoDS_Edge &  aE2,
const TopTools_SequenceOfShape &  theCommonFaces 
)
private
Standard_Boolean ShHealOper_CloseContour::checkOneFace ( const Handle(ShapeExtend_WireData)&  theSewd,
TopTools_SequenceOfShape &  theCommonFaces 
) const
private

References myMapEdgesFace.

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

References myMaxTolerance.

Standard_Boolean ShHealOper_CloseContour::GetModeVertex ( )
inline

References myModeVertex.

Standard_Real ShHealOper_CloseContour::GetTolerance ( )
inline

References myTolerance.

void ShHealOper_CloseContour::Init ( const TopoDS_Shape &  theShape)
virtual
Standard_Boolean ShHealOper_CloseContour::Perform ( const TopTools_SequenceOfShape &  theSeqEdges,
const Standard_Boolean  theModeVertex = Standard_False,
const Standard_Boolean  theModeFixGapsCurves = Standard_True 
)
Standard_Boolean ShHealOper_CloseContour::Perform ( const TopoDS_Wire &  theWire,
const Standard_Boolean  theModeVertex = Standard_False,
const Standard_Boolean  theModeFixGapsCurves = Standard_True 
)
void ShHealOper_CloseContour::SetMaxTolerance ( const Standard_Real  theMaxTolerance)
inline

References myMaxTolerance.

void ShHealOper_CloseContour::SetModeVertex ( const Standard_Boolean  theModeVertex)
inline

References myModeVertex.

void ShHealOper_CloseContour::SetTolerance ( const Standard_Real  theTolerance)
inline

References myTolerance.

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

References myFreeEdges.

Member Data Documentation

TopTools_SequenceOfShape ShHealOper_CloseContour::myFreeEdges
private
TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_CloseContour::myMapEdgesFace
private
Standard_Real ShHealOper_CloseContour::myMaxTolerance
private
Standard_Boolean ShHealOper_CloseContour::myModeFixGapsCurves
private
Standard_Boolean ShHealOper_CloseContour::myModeVertex
private
Standard_Real ShHealOper_CloseContour::myTolerance
private

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