Version: 6.3.1
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

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)
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 ()

Protected Attributes

TopoDS_Shape myInitShape
TopoDS_Shape myResultShape
Standard_Boolean myDone
ShHealOper_Error myErrorStatus

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

Constructor & Destructor Documentation

ShHealOper_FillHoles::ShHealOper_FillHoles ( )

References InitParameters().

ShHealOper_FillHoles::ShHealOper_FillHoles ( const TopoDS_Shape &  theShape)

References Init(), and InitParameters().


Member Function Documentation

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::Fill ( )
Standard_Boolean ShHealOper_FillHoles::Fill ( const TopTools_SequenceOfShape &  theFillShapes)
Standard_Boolean ShHealOper_FillHoles::prepareWires ( const TopTools_SequenceOfShape &  theFillShapes,
Handle(TopTools_HSequenceOfShape)&  theSeqWires 
) [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]
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]
void ShHealOper_FillHoles::getResShape ( const TopoDS_Shape &  theAddShape,
const TopTools_IndexedMapOfShape &  aMapParent,
const Standard_Boolean  theHasShell 
) [private]
const TopoDS_Shape& ShHealOper_Tool.GetResultShape ( ) const [inherited]
Standard_Boolean ShHealOper_Tool.GetModifiedShape ( const TopoDS_Shape &  theOldShape,
TopoDS_Shape &  theNewShape 
) const [inherited]
Standard_Boolean ShHealOper_Tool.IsDone ( ) const [inherited]
void ShHealOper_Tool.SetContext ( Handle(ShapeBuild_ReShape)&  theContext) [inherited]
ShHealOper_Tool.Handle ( ShapeBuild_ReShape  ) [inherited]
Standard_Integer ShHealOper_Tool.GetErrorStatus ( ) [inherited]

Field Documentation

TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles.myEdgeShells [private]
TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles.myEdgeComps [private]
TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_FillHoles.myEdgeFaces [private]
Standard_Integer ShHealOper_FillHoles.myNbPtsOnCur [private]
Standard_Integer ShHealOper_FillHoles.myNbIter [private]
Standard_Integer ShHealOper_FillHoles.myDegree [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]
Standard_Integer ShHealOper_FillHoles.myMaxDeg [private]
Standard_Integer ShHealOper_FillHoles.myMaxSeg [private]
TopoDS_Shape ShHealOper_Tool.myInitShape [protected, inherited]
TopoDS_Shape ShHealOper_Tool.myResultShape [protected, inherited]
Standard_Boolean ShHealOper_Tool.myDone [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS