From: ifv Date: Mon, 25 Nov 2019 08:35:04 +0000 (+0300) Subject: Request from SENR "SENR-21-039 "BRepExtrema_DistShapeShape - bad result " X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR0_691_FixS_T;p=occt-copy.git Request from SENR "SENR-21-039 "BRepExtrema_DistShapeShape - bad result " Extrema_ExtSS.cxx - numbers of sample points are increased IntPatch_PrmPrmIntersection.cxx This reverts commit 6a2b9ef69fa79a7fb22140d4a8a9e34a7651b3f0. --- diff --git a/src/Extrema/Extrema_ExtSS.cxx b/src/Extrema/Extrema_ExtSS.cxx index dc7ace71c6..4a4d28b205 100644 --- a/src/Extrema/Extrema_ExtSS.cxx +++ b/src/Extrema/Extrema_ExtSS.cxx @@ -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) { diff --git a/src/IntPatch/IntPatch_PrmPrmIntersection.cxx b/src/IntPatch/IntPatch_PrmPrmIntersection.cxx index 799cc7d4fc..4eb1837274 100644 --- a/src/IntPatch/IntPatch_PrmPrmIntersection.cxx +++ b/src/IntPatch/IntPatch_PrmPrmIntersection.cxx @@ -2543,7 +2543,6 @@ void IntPatch_PrmPrmIntersection::Perform (const Handle(Adaptor3d_HSurface)& Sur } } } - } Standard_Integer pI = ciVpar;