diff --git a/src/GeomFill/GeomFill_NSections.cxx b/src/GeomFill/GeomFill_NSections.cxx index 96e8178e4e..14e4dc66d0 100644 --- a/src/GeomFill/GeomFill_NSections.cxx +++ b/src/GeomFill/GeomFill_NSections.cxx @@ -20,6 +20,8 @@ // Modified: Mon Jan 18 11:06:46 1999 // mise au point de D1, D2 et IsConstant +#include + #include #include #include @@ -35,14 +37,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -234,6 +234,25 @@ GeomFill_NSections::GeomFill_NSections(const TColGeom_SequenceOfCurve& NC, ComputeSurface(); } +//======================================================================= +//function : GeomFill_NSections +//purpose : +//======================================================================= +GeomFill_NSections::GeomFill_NSections (const TColGeom_SequenceOfCurve& theNC, + const TColStd_SequenceOfReal& theNP, + const Standard_Real theUF, + const Standard_Real theUL) +{ + mySections = theNC; + myParams = theNP; + UFirst = theUF; + ULast = theUL; + VFirst = 0.0; + VLast = 1.0; + myRefSurf.Nullify(); + ComputeSurface(); +} + //======================================================================= //function : GeomFill_NSections //purpose :