From 9aa2450a53e0787c9f62d9df76f38e3b6cffe17b Mon Sep 17 00:00:00 2001 From: abk Date: Tue, 14 Aug 2018 19:42:31 +0300 Subject: [PATCH] 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. --- src/ShapeAnalysis/ShapeAnalysis_Wire.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5