]> OCCT Git - occt-copy.git/commitdiff
Fix for issue #28150
authornbv <nbv@opencascade.com>
Thu, 19 Jan 2017 14:29:04 +0000 (17:29 +0300)
committernbv <nbv@opencascade.com>
Thu, 19 Jan 2017 14:36:59 +0000 (17:36 +0300)
Set-61

src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx

index 4a7abbf1a4456f93fd95f23f69ad989a0522164f..82058dd503b1fd27c251ef20dd14d7c493121ef9 100644 (file)
@@ -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;