0024470: Wrong result done by General Fuse algorithm.
[occt.git] / src / IntPatch / IntPatch_ALineToWLine.cxx
index 74c8c9d..7ea9d58 100644 (file)
@@ -856,6 +856,9 @@ static
   case GeomAbs_Sphere:
     pu1=M_PI+M_PI;
     break;
+  case GeomAbs_Torus:
+    pu1=pv1=M_PI+M_PI;
+    break;
   default:
     break;
   }
@@ -865,6 +868,9 @@ static
   case GeomAbs_Sphere:
     pu2=M_PI+M_PI;
     break;
+  case GeomAbs_Torus:
+    pu2=pv2=M_PI+M_PI;
+    break;
   default:
     break;
   }