1
0
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:
epv 2013-03-13 12:16:57 +04:00 committed by emv
parent a82b7ef700
commit e2f0aca019

View File

@ -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;