From: abk Date: Tue, 14 Aug 2018 16:42:31 +0000 (+0300) Subject: 0030062: Modeling Algorithms - The shape healing is instable in test "parasolid/doc_3/E3" X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR30062_2;p=occt-copy.git 0030062: Modeling Algorithms - The shape healing is instable in test "parasolid/doc_3/E3" A solution to fix the instability was created base on remark 30062#c78604 from 2018-08-14 16:10. --- diff --git a/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx b/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx index 140f94483e..a273e570c0 100644 --- a/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx +++ b/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx @@ -941,8 +941,8 @@ Standard_Boolean ShapeAnalysis_Wire::CheckDegenerated (const Standard_Integer nu //the situation when degenerated edge already exists but flag is not set //(i.e. the parametric space is closed) GeomAdaptor_Surface& Ads = mySurf->Adaptor3d()->ChangeSurface(); - Standard_Real max = Max ( Ads.UResolution(myPrecision), - Ads.VResolution(myPrecision) ); + Standard_Real max = Max ( Ads.UResolution(precVtx), + Ads.VResolution(precVtx) ); if ( p2d1.Distance (p2d2) /*Abs (par1 - par2)*/ <= max + gp::Resolution() ) return Standard_False; //#84 rln p2d1 = aP2d.XY() + par1 * theDir2d.XY();