mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0022812: Bad performance meshing a face based on extrusion of huge b-spline curve
This commit is contained in:
parent
a82b7ef700
commit
e2f0aca019
@ -67,10 +67,10 @@ static Standard_Integer order(const Adaptor3d_Curve& C)
|
||||
return 5;
|
||||
|
||||
case GeomAbs_BezierCurve :
|
||||
return Min(24, 2*C.Bezier()->Degree());
|
||||
return Min(24, 2*C.Degree());
|
||||
|
||||
case GeomAbs_BSplineCurve :
|
||||
return Min(24, 2*C.BSpline()->NbPoles()-1);
|
||||
return Min(24, 2*C.NbPoles()-1);
|
||||
|
||||
default :
|
||||
return 10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user