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

References InitParameters().

ShHealOper_FillHoles::ShHealOper_FillHoles ( const TopoDS_Shape &  theShape)

References Init(), and InitParameters().

Member Function Documentation

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
Standard_Boolean ShHealOper_FillHoles::Fill ( )
void ShHealOper_FillHoles::getResShape ( const TopoDS_Shape &  theAddShape,
const TopTools_IndexedMapOfShape &  aMapParent,
const Standard_Boolean  theHasShell 
)
private
ShHealOper_FillHoles::Handle ( Geom_Surface  ) const
private
ShHealOper_FillHoles::Handle ( TColGeom2d_HArray1OfCurve  )
private
ShHealOper_FillHoles::Handle ( TColStd_HArray1OfInteger  )
private
ShHealOper_FillHoles::Handle ( TColStd_HArray1OfInteger  )
private
void ShHealOper_FillHoles::Init ( const TopoDS_Shape &  theShape)
virtual
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 
)
Standard_Boolean ShHealOper_FillHoles::prepareWires ( const TopTools_SequenceOfShape &  theFillShapes,
Handle(TopTools_HSequenceOfShape)&  theSeqWires 
)
private

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

Member Data Documentation

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

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