projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0028150: Exception is raised during Boolean operation
[occt.git]
/
src
/
ProjLib
/
ProjLib_ComputeApproxOnPolarSurface.cxx
diff --git
a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
index
16e1255
..
82f567c
100644
(file)
--- a/
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
+++ b/
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
@@
-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;