]> OCCT Git - occt.git/commitdiff
0024790: Modeling Algorithms - missing intersection curve between two surfaces. CR24790
authorknosulko <knosulko@opencascade.com>
Tue, 19 Apr 2022 12:30:25 +0000 (15:30 +0300)
committerknosulko <knosulko@opencascade.com>
Wed, 23 Nov 2022 16:34:13 +0000 (19:34 +0300)
Adaptor3d/Adaptor3d_TopolTool.cxx - increasing minimal nb sample-points for BSpline surfaces.

src/Adaptor3d/Adaptor3d_TopolTool.cxx

index 807291d755da1bdf2ca5aff2b6017d188b27ba40..6c082a057d2b0bda3324552678e371a094f27718 100644 (file)
@@ -881,7 +881,9 @@ void Adaptor3d_TopolTool::SamplePnts(const Standard_Real theDefl,
 //   case GeomAbs_BSplineSurface: {
   if(typS == GeomAbs_BSplineSurface) {
     // Processing BSpline surface 
-    BSplSamplePnts(theDefl, theNUmin, theNVmin);
+    Standard_Integer aNUmin = (Standard_Integer)(1.2 * theNUmin);
+    Standard_Integer aNVmin = (Standard_Integer)(1.2 * theNVmin);
+    BSplSamplePnts(theDefl, aNUmin, aNVmin);
     return;
   }
   else {