27 #ifndef ShHealOper_FillHoles_HeaderFile
28 #define ShHealOper_FillHoles_HeaderFile
30 #include <MMgt_TShared.hxx>
31 #include <TopoDS_Shape.hxx>
32 #include <TopTools_SequenceOfShape.hxx>
33 #include <TopoDS_Wire.hxx>
34 #include <TColGeom2d_HArray1OfCurve.hxx>
35 #include <Geom_Surface.hxx>
36 #include <TColStd_HArray1OfInteger.hxx>
37 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
39 #include <TopTools_HSequenceOfShape.hxx>
40 #include <TopTools_IndexedMapOfShape.hxx>
55 Standard_EXPORT
virtual void Init(
const TopoDS_Shape& theShape);
58 Standard_EXPORT
void InitParameters(Standard_Integer theDegree = 3,
59 Standard_Integer theNbPtsOnCur =5,
60 Standard_Integer theNbIter = 12,
61 Standard_Real theTol3d = 0.0001,
62 Standard_Real theTol2d = 1.e-5,
63 Standard_Real theTolAng = 0.01,
64 Standard_Real theTolCrv = 0.01,
65 Standard_Integer theMaxDeg = 8,
66 Standard_Integer theMaxSeg =9);
69 Standard_EXPORT Standard_Boolean
Fill();
72 Standard_EXPORT Standard_Boolean
Fill(
const TopTools_SequenceOfShape& theFillShapes);
79 Standard_Boolean
prepareWires(
const TopTools_SequenceOfShape& theFillShapes,
80 Handle(TopTools_HSequenceOfShape)& theSeqWires);
82 Handle(Geom_Surface) buildSurface(
const TopoDS_Wire& theWire,
83 Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
84 Handle(TColStd_HArray1OfInteger)& theOrders,
85 Handle(TColStd_HArray1OfInteger)& theSenses);
88 const TopoDS_Wire& theWire,
89 const Handle(TColGeom2d_HArray1OfCurve)& theCurves2d,
90 const Handle(TColStd_HArray1OfInteger)& theOrders,
91 const Handle(TColStd_HArray1OfInteger)& theSenses);
94 const TopTools_IndexedMapOfShape& aMapParent,
95 const Standard_Boolean theHasShell);