0028802: The tolerance reached by approximator is used in creation of an edge, it...
[occt.git] / src / IntTools / IntTools_FaceFace.cxx
index e03fa41..5030a3e 100644 (file)
@@ -1313,9 +1313,6 @@ void IntTools_FaceFace::MakeCurve(const Standard_Integer Index,
         }
         else {
           if (typs1 == GeomAbs_Plane || typs2 == GeomAbs_Plane) {
-            if (aTolC <  theapp3d.TolReached2d()) {
-              aTolC = theapp3d.TolReached2d();
-            }
             //
             if (typs1 == GeomAbs_Torus || typs2 == GeomAbs_Torus) {
               if (aTolC < 1.e-6) {
@@ -1323,9 +1320,6 @@ void IntTools_FaceFace::MakeCurve(const Standard_Integer Index,
               }
             }
           }
-          else if (aTolC < theapp3d.TolReached3d()) {
-            aTolC = theapp3d.TolReached3d();
-          }
           //
           Standard_Integer aNbMultiCurves, nbpoles;
           aNbMultiCurves=theapp3d.NbMultiCurves();