]> OCCT Git - occt-copy.git/commitdiff
Request from SENR "SENR-21-039 "BRepExtrema_DistShapeShape - bad result " CR0_691_FixS_T
authorifv <ifv@opencascade.com>
Mon, 25 Nov 2019 08:35:04 +0000 (11:35 +0300)
committerifv <ifv@opencascade.com>
Mon, 25 Nov 2019 08:35:04 +0000 (11:35 +0300)
Extrema_ExtSS.cxx - numbers of sample points are increased

IntPatch_PrmPrmIntersection.cxx

This reverts commit 6a2b9ef69fa79a7fb22140d4a8a9e34a7651b3f0.

src/Extrema/Extrema_ExtSS.cxx
src/IntPatch/IntPatch_PrmPrmIntersection.cxx

index dc7ace71c6d2feff3606d797dd52bcebb13c3ebb..4a4d28b20562f88a6a3a92e74128254633e101d8 100644 (file)
@@ -103,7 +103,7 @@ void Extrema_ExtSS::Perform(const Adaptor3d_Surface&   S1,
   mySqDist.Clear();
   Standard_Integer i;
   GeomAbs_SurfaceType myS1type  = S1.GetType();
-  Standard_Integer NbU = 10, NbV = 10;
+  Standard_Integer NbU = 20, NbV = 20;
   
   switch(myS1type) {
 
index 799cc7d4fc67cc632c328fd467bc8c5e2003c4e5..4eb183727418807b21c8bb8469e3ce0568688de1 100644 (file)
@@ -2543,7 +2543,6 @@ void IntPatch_PrmPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur
                                 } 
                               }
                             }
-                            }
 
                             Standard_Integer pI = ciVpar;