Version: 9.12.0
ShHealOper_FillHoles Class Reference

Class ShHealOper_FillHoles.

#include <ShHealOper_FillHoles.hxx>

Inheritance diagram for ShHealOper_FillHoles:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_FillHoles ()
 
Standard_EXPORT ShHealOper_FillHoles (const TopoDS_Shape &theShape)
 
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
 
Standard_EXPORT void InitParameters (Standard_Integer theDegree=3, Standard_Integer theNbPtsOnCur=5, Standard_Integer theNbIter=12, Standard_Real theTol3d=0.0001, Standard_Real theTol2d=1.e-5, Standard_Real theTolAng=0.01, Standard_Real theTolCrv=0.01, Standard_Integer theMaxDeg=8, Standard_Integer theMaxSeg=9)
 
Standard_EXPORT Standard_Boolean Fill ()
 
Standard_EXPORT Standard_Boolean Fill (const TopTools_SequenceOfShape &theFillShapes)
 
- 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 prepareWires (const TopTools_SequenceOfShape &theFillShapes, Handle(TopTools_HSequenceOfShape)&theSeqWires)
 
 Handle (Geom_Surface) buildSurface(const TopoDS_Wire &theWire
 
 Handle (TColGeom2d_HArray1OfCurve) &theCurves2d
 
 Handle (TColStd_HArray1OfInteger) &theOrders
 
 Handle (TColStd_HArray1OfInteger) &theSenses)
 
Standard_Boolean addFace (const Handle(Geom_Surface)&theSurf, const TopoDS_Wire &theWire, const Handle(TColGeom2d_HArray1OfCurve)&theCurves2d, const Handle(TColStd_HArray1OfInteger)&theOrders, const Handle(TColStd_HArray1OfInteger)&theSenses)
 
void getResShape (const TopoDS_Shape &theAddShape, const TopTools_IndexedMapOfShape &aMapParent, const Standard_Boolean theHasShell)
 

Private Attributes

TopTools_IndexedDataMapOfShapeListOfShape myEdgeShells
 
TopTools_IndexedDataMapOfShapeListOfShape myEdgeComps
 
TopTools_IndexedDataMapOfShapeListOfShape myEdgeFaces
 
Standard_Integer myNbPtsOnCur
 
Standard_Integer myNbIter
 
Standard_Integer myDegree
 
Standard_Real myTol2d
 
Standard_Real myTol3d
 
Standard_Real myTolAng
 
Standard_Real myTolCrv
 
Standard_Integer myMaxDeg
 
Standard_Integer myMaxSeg
 

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

ShHealOper_FillHoles::ShHealOper_FillHoles ( )

References InitParameters().

◆ ShHealOper_FillHoles() [2/2]

ShHealOper_FillHoles::ShHealOper_FillHoles ( const TopoDS_Shape &  theShape)

References Init(), and InitParameters().

Member Function Documentation

◆ addFace()

Standard_Boolean ShHealOper_FillHoles::addFace ( const Handle(Geom_Surface)&  theSurf,
const TopoDS_Wire &  theWire,
const Handle(TColGeom2d_HArray1OfCurve)&  theCurves2d,
const Handle(TColStd_HArray1OfInteger)&  theOrders,
const Handle(TColStd_HArray1OfInteger)&  theSenses 
)
private

◆ Fill() [1/2]

Standard_Boolean ShHealOper_FillHoles::Fill ( )

◆ Fill() [2/2]

◆ getResShape()

void ShHealOper_FillHoles::getResShape ( const TopoDS_Shape &  theAddShape,
const TopTools_IndexedMapOfShape &  aMapParent,
const Standard_Boolean  theHasShell 
)
private

◆ Handle() [1/4]

ShHealOper_FillHoles::Handle ( Geom_Surface  ) const &
private

◆ Handle() [2/4]

ShHealOper_FillHoles::Handle ( TColGeom2d_HArray1OfCurve  ) &
private

◆ Handle() [3/4]

ShHealOper_FillHoles::Handle ( TColStd_HArray1OfInteger  ) &
private

◆ Handle() [4/4]

ShHealOper_FillHoles::Handle ( TColStd_HArray1OfInteger  ) &
private

◆ Init()

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

◆ InitParameters()

void ShHealOper_FillHoles::InitParameters ( Standard_Integer  theDegree = 3,
Standard_Integer  theNbPtsOnCur = 5,
Standard_Integer  theNbIter = 12,
Standard_Real  theTol3d = 0.0001,
Standard_Real  theTol2d = 1.e-5,
Standard_Real  theTolAng = 0.01,
Standard_Real  theTolCrv = 0.01,
Standard_Integer  theMaxDeg = 8,
Standard_Integer  theMaxSeg = 9 
)

◆ prepareWires()

Standard_Boolean ShHealOper_FillHoles::prepareWires ( const TopTools_SequenceOfShape &  theFillShapes,
Handle(TopTools_HSequenceOfShape)&  theSeqWires 
)
private

References Handle(), isCircle(), and myEdgeFaces.

Member Data Documentation

◆ myDegree

Standard_Integer ShHealOper_FillHoles::myDegree
private

◆ myEdgeComps

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles::myEdgeComps
private

◆ myEdgeFaces

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles::myEdgeFaces
private

◆ myEdgeShells

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles::myEdgeShells
private

◆ myMaxDeg

Standard_Integer ShHealOper_FillHoles::myMaxDeg
private

◆ myMaxSeg

Standard_Integer ShHealOper_FillHoles::myMaxSeg
private

◆ myNbIter

Standard_Integer ShHealOper_FillHoles::myNbIter
private

◆ myNbPtsOnCur

Standard_Integer ShHealOper_FillHoles::myNbPtsOnCur
private

◆ myTol2d

Standard_Real ShHealOper_FillHoles::myTol2d
private

◆ myTol3d

Standard_Real ShHealOper_FillHoles::myTol3d
private

◆ myTolAng

Standard_Real ShHealOper_FillHoles::myTolAng
private

◆ myTolCrv

Standard_Real ShHealOper_FillHoles::myTolCrv
private

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