1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
gka
c6b807b8e6 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
2019-11-01 17:53:21 +03:00

View File

@@ -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