1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

0024985: Control of maximum degree and number of segment in the Pipe Shell algorithm

Fix merge problem: pass myMaxDegree and myMaxSegments to BRepFill_Sweep algorithm
This commit is contained in:
vsr 2014-06-20 11:35:25 +04:00 committed by apn
parent af4b4ba9e5
commit 75c5def578

View File

@ -765,7 +765,8 @@ void BRepFill_PipeShell::SetForceApproxC1(const Standard_Boolean ForceApproxC1)
TopTools_MapOfShape Dummy;
BRepFill_DataMapOfShapeHArray2OfShape Dummy2;
BRepFill_DataMapOfShapeHArray2OfShape Dummy3;
MkSw.Build(Dummy, Dummy2, Dummy3, myTransition, theContinuity);
MkSw.Build(Dummy, Dummy2, Dummy3, myTransition, theContinuity,
GeomFill_Location, myMaxDegree, myMaxSegments);
myStatus = myLocation->GetStatus();
Ok = (MkSw.IsDone() && (myStatus == GeomFill_PipeOk));