Class ShHealOper_FillHoles.
#include <ShHealOper_FillHoles.hxx>

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 |
| ShHealOper_FillHoles::ShHealOper_FillHoles | ( | ) |
References InitParameters().
| ShHealOper_FillHoles::ShHealOper_FillHoles | ( | const TopoDS_Shape & | theShape | ) |
References Init(), and InitParameters().
| void ShHealOper_FillHoles::Init | ( | const TopoDS_Shape & | theShape | ) | [virtual] |
Reimplemented from ShHealOper_Tool.
References myEdgeComps, myEdgeFaces, myEdgeShells, and ShHealOper_Tool.myInitShape.
| 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 | ( | ) |
References ShHealOper_Tool.myInitShape.
| Standard_Boolean ShHealOper_FillHoles::Fill | ( | const TopTools_SequenceOfShape & | theFillShapes | ) |
| Standard_Boolean ShHealOper_FillHoles::prepareWires | ( | const TopTools_SequenceOfShape & | theFillShapes, |
| Handle(TopTools_HSequenceOfShape)& | theSeqWires | ||
| ) | [private] |
References Handle(), PAL_MESH_030_geometry.i, isCircle(), and myEdgeFaces.
| 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] |
References getResShape(), Handle(), myEdgeComps, myEdgeFaces, myEdgeShells, ShHealOper_Tool.myErrorStatus, myTol3d, and ShHealOper_ErrorExecution.
| void ShHealOper_FillHoles::getResShape | ( | const TopoDS_Shape & | theAddShape, |
| const TopTools_IndexedMapOfShape & | aMapParent, | ||
| const Standard_Boolean | theHasShell | ||
| ) | [private] |
References Handle(), PAL_MESH_030_geometry.i, and ShHealOper_Tool.myResultShape.
| const TopoDS_Shape& ShHealOper_Tool.GetResultShape | ( | ) | const [inherited] |
References ShHealOper_Tool.myResultShape.
| Standard_Boolean ShHealOper_Tool.GetModifiedShape | ( | const TopoDS_Shape & | theOldShape, |
| TopoDS_Shape & | theNewShape | ||
| ) | const [inherited] |
| Standard_Boolean ShHealOper_Tool.IsDone | ( | ) | const [inherited] |
References ShHealOper_Tool.myDone.
| void ShHealOper_Tool.SetContext | ( | Handle(ShapeBuild_ReShape)& | theContext | ) | [inherited] |
| ShHealOper_Tool.Handle | ( | ShapeBuild_ReShape | ) | [inherited] |
| Standard_Integer ShHealOper_Tool.GetErrorStatus | ( | ) | [inherited] |
References ShHealOper_Tool.myErrorStatus.
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] |
ShHealOper_Error ShHealOper_Tool.myErrorStatus [protected, inherited] |