From: nbv Date: Thu, 19 Jan 2017 14:29:04 +0000 (+0300) Subject: Fix for issue #28150 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=94e850392826c6c8e7a4c5bd844b4691d53f41e1;p=occt-copy.git Fix for issue #28150 Set-61 --- diff --git a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx index 4a7abbf1a4..82058dd503 100644 --- a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx +++ b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx @@ -721,6 +721,7 @@ Handle(Adaptor2d_HCurve2d) Standard_Integer NbOfPnts = 61; GCPnts_QuasiUniformAbscissa QUA(Curve->GetCurve(),NbOfPnts); + NbOfPnts = QUA.NbPoints(); TColgp_Array1OfPnt Pts(1,NbOfPnts); TColStd_Array1OfReal Param(1,NbOfPnts); Standard_Integer i, j;