From: gka Date: Fri, 1 Nov 2019 14:50:49 +0000 (+0300) Subject: 0031123: Operation "fixshape" sets tolerance of face too big for face based on the... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR31123;p=occt-copy.git 0031123: Operation "fixshape" sets tolerance of face too big for face based on the uclosed but not periodic BSpline surface In the method ShapeFix_Wire::FixShifted() check on closure of surface is replaced on the check of the periodicity of surface --- diff --git a/src/ShapeFix/ShapeFix_Wire.cxx b/src/ShapeFix/ShapeFix_Wire.cxx index b1d8eb45cb..3a2a32360d 100644 --- a/src/ShapeFix/ShapeFix_Wire.cxx +++ b/src/ShapeFix/ShapeFix_Wire.cxx @@ -1365,8 +1365,8 @@ Standard_Boolean ShapeFix_Wire::FixShifted() Handle(ShapeAnalysis_Surface) surf = myAnalyzer->Surface(); //#78 rln 12.03.99 S4135: checking spatial closure with Precision - Standard_Boolean uclosed = surf->IsUClosed(Precision()); - Standard_Boolean vclosed = surf->IsVClosed(Precision()) || surf->Surface()->IsKind (STANDARD_TYPE(Geom_SphericalSurface)); + Standard_Boolean uclosed = surf->Surface()->IsUPeriodic();//Precision()); + Standard_Boolean vclosed = surf->Surface()->IsVPeriodic();//Precision()) || surf->Surface()->IsKind (STANDARD_TYPE(Geom_SphericalSurface)); //#67 rln 01.03.99 S4135: ims010.igs entity D11900 (2D contour is 2*PI higher than V range [-pi/2,p/2]) // PTV 26.06.2002 begin