1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0030003: Construction of pipe by two circular sections and spine curve leads to crash

GeomFill_NSection.cxx  : setting of UPeriodic flag while call constructor of BSpline surface is added

bug3003 : Test cases added
This commit is contained in:
akaftasev
2020-09-16 16:01:38 +03:00
committed by bugmaster
parent 07bc68e8d8
commit 5445eaeed5
2 changed files with 26 additions and 1 deletions

View File

@@ -598,7 +598,8 @@ GeomFill_NSections::GeomFill_NSections(const TColGeom_SequenceOfCurve& NC,
new Geom_BSplineSurface(anApprox.SurfPoles(), anApprox.SurfWeights(),
anApprox.SurfUKnots(), anApprox.SurfVKnots(),
anApprox.SurfUMults(), anApprox.SurfVMults(),
anApprox.UDegree(), anApprox.VDegree());
anApprox.UDegree(), anApprox.VDegree(),
section.IsPeriodic());
}
else {