1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0028150: Exception is raised during Boolean operation

ProjLib_ComputeApproxOnPolarSurface::BuildInitialCurve2d - Using the correct number of points (computed in GCPnts_QuasiUniformAbscissa class) for creation of the initial curve.
This commit is contained in:
nbv
2017-09-18 17:23:44 +03:00
committed by bugmaster
parent cd803dcd59
commit 8444aedb1d
3 changed files with 46 additions and 0 deletions

View File

@@ -885,6 +885,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;