From f6651f22e67dbc68c8fe6ab9f9ae64402055e22b Mon Sep 17 00:00:00 2001 From: kgv <kgv@opencascade.com> Date: Wed, 21 Apr 2021 14:17:30 +0300 Subject: [PATCH] 0032313: Modeling Algorithms - Missing definition of constructor in GeomFill_NSections --- src/GeomFill/GeomFill_NSections.cxx | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) 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 <GeomFill_NSections.hxx> + #include <BSplCLib.hxx> #include <Convert_ParameterisationType.hxx> #include <GCPnts_AbscissaPoint.hxx> @@ -35,14 +37,12 @@ #include <GeomConvert.hxx> #include <GeomFill_AppSurf.hxx> #include <GeomFill_Line.hxx> -#include <GeomFill_NSections.hxx> #include <GeomFill_SectionGenerator.hxx> #include <gp_Circ.hxx> #include <gp_Lin.hxx> #include <gp_Pnt.hxx> #include <Precision.hxx> #include <Standard_OutOfRange.hxx> -#include <Standard_Type.hxx> #include <TColGeom_Array1OfCurve.hxx> #include <TColgp_Array2OfPnt.hxx> #include <TColStd_Array1OfInteger.hxx> @@ -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 :