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

0022727: Fillet not produces a result

This commit is contained in:
JGV 2011-10-21 17:40:30 +00:00 committed by bugmaster
parent c55993db02
commit 822ffdff32

View File

@ -521,12 +521,14 @@ Standard_Boolean ChFi3d_Builder::CompleteData
{ {
Handle(BRepBlend_AppFunc) TheFunc Handle(BRepBlend_AppFunc) TheFunc
= new (BRepBlend_AppFunc)(lin, Func, tolapp3d, 1.e-5); = new (BRepBlend_AppFunc)(lin, Func, tolapp3d, 1.e-5);
Standard_Integer Degmax = 20, Segmax = 100;
BRepBlend_AppSurface approx (TheFunc, BRepBlend_AppSurface approx (TheFunc,
lin->Point(1).Parameter(), lin->Point(1).Parameter(),
lin->Point(lin->NbPoints()).Parameter(), lin->Point(lin->NbPoints()).Parameter(),
tolapp3d, 1.e-5, //tolapp2d, tolerance max tolapp3d, 1.e-5, //tolapp2d, tolerance max
tolappangle, // Contact G1 tolappangle, // Contact G1
myConti); myConti, Degmax, Segmax);
if (!approx.IsDone()) { if (!approx.IsDone()) {
#ifdef DEB #ifdef DEB
cout << "Approximation non faite !!!" << endl; cout << "Approximation non faite !!!" << endl;