]> OCCT Git - occt-copy.git/commitdiff
Revert "0029369: ShapeFix_Face algorithm does not heal properly the face lying on...
authorjgv <jgv@opencascade.com>
Wed, 11 Apr 2018 09:28:04 +0000 (12:28 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 11 Apr 2018 13:43:07 +0000 (16:43 +0300)
This reverts commit 7d13fd8ea30857c226a777879e1302a38f67cf6f.

src/ShapeFix/ShapeFix_Wire.cxx
src/ShapeFix/ShapeFix_Wire.hxx
src/ShapeFix/ShapeFix_Wire.lxx

index 5966d91a5a73b977517f15703c0374d7bbf97175..e5b273da3e56d8c9371168d59ded940b992d5251 100644 (file)
@@ -207,7 +207,6 @@ void ShapeFix_Wire::ClearModes()
   myFixAddCurve3dMode = -1;
   myFixSeamMode = -1;
   myFixShiftedMode = -1;
-  myCheckMissingEdges = Standard_True;
   myFixSameParameterMode = -1;
   myFixVertexToleranceMode = -1;
 
@@ -1461,8 +1460,7 @@ Standard_Boolean ShapeFix_Wire::FixShifted()
 
     // abv 23 Feb 00: UKI60107-6 210: additional check for near-degenerated case
     //smh#15 PRO19800. Check if the surface is surface of revolution.
-    if (myCheckMissingEdges &&
-        surf->Surface()->IsKind (STANDARD_TYPE(Geom_SurfaceOfRevolution))) {
+    if (surf->Surface()->IsKind (STANDARD_TYPE(Geom_SurfaceOfRevolution))) {
       if ( ! isDeg && ! vclosed ) {
        if ( c2d1.IsNull() && ! sae.PCurve ( E1, Face(), c2d1, a1, b1, Standard_True ) ) continue;
        gp_Pnt2d p1 ( SUF, c2d1->Value(b1).Y() );
index 19b8bf69dff41ae4b47b45b6eabc71feacf5f6c4..a266bc218b8d0d7029decf6a053d903adf87e37d 100644 (file)
@@ -230,8 +230,6 @@ public:
   
     Standard_Integer& FixShiftedMode();
   
-    Standard_Boolean& CheckMissingEdgesMode();
-  
     Standard_Integer& FixSameParameterMode();
   
     Standard_Integer& FixVertexToleranceMode();
@@ -480,7 +478,6 @@ protected:
   Standard_Integer myFixAddCurve3dMode;
   Standard_Integer myFixSeamMode;
   Standard_Integer myFixShiftedMode;
-  Standard_Boolean myCheckMissingEdges;
   Standard_Integer myFixSameParameterMode;
   Standard_Integer myFixVertexToleranceMode;
   Standard_Integer myFixNotchedEdgesMode;
index ae139489f5f5e071b4c035ef72ff101cf8762c10..2ba6455f1ccb3128db2976a9faa9468be510a308 100644 (file)
@@ -305,16 +305,6 @@ inline  Standard_Integer& ShapeFix_Wire::FixShiftedMode()
   return myFixShiftedMode;
 }
  
-//=======================================================================
-//function : CheckMissingEdgesMode
-//purpose  : 
-//=======================================================================
-
-inline  Standard_Boolean& ShapeFix_Wire::CheckMissingEdgesMode()
-{
-  return myCheckMissingEdges;
-}
 //=======================================================================
 //function : FixSameParameterMode
 //purpose  :