From: knosulko Date: Tue, 19 Apr 2022 12:30:25 +0000 (+0300) Subject: 0024790: Modeling Algorithms - missing intersection curve between two surfaces. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=09e36976f3c385a4d05eff790bafceff9ad877d2;p=occt.git 0024790: Modeling Algorithms - missing intersection curve between two surfaces. Adaptor3d/Adaptor3d_TopolTool.cxx - increasing minimal nb sample-points for BSpline surfaces. --- diff --git a/src/Adaptor3d/Adaptor3d_TopolTool.cxx b/src/Adaptor3d/Adaptor3d_TopolTool.cxx index 807291d755..6c082a057d 100644 --- a/src/Adaptor3d/Adaptor3d_TopolTool.cxx +++ b/src/Adaptor3d/Adaptor3d_TopolTool.cxx @@ -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 {