1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

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.
This commit is contained in:
abk
2018-08-14 19:42:31 +03:00
parent 47ba172e98
commit 9aa2450a53

View File

@@ -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();