Salome HOME
Join modifications from V3_2_0_maintainance (V3_2_6pre4 - T32x_16Aug2007_16h00m)
[modules/smesh.git] / src / SMESH / SMESH_Algo.cxx
index 16d3a99dda1c7ac9efce689b91cd043763bc9b9e..db07a004f118ad0ad2bccb360eb92fa612b9e17e 100644 (file)
@@ -404,11 +404,13 @@ GeomAbs_Shape SMESH_Algo::Continuity(const TopoDS_Edge & E1,
   Standard_Real u1 = BRep_Tool::Parameter( V, E1 );
   Standard_Real u2 = BRep_Tool::Parameter( V, E2 );
   BRepAdaptor_Curve C1( E1 ), C2( E2 );
+  Standard_Real tol = BRep_Tool::Tolerance( V );
+  Standard_Real angTol = 2e-3;
   try {
 #if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
     OCC_CATCH_SIGNALS;
 #endif
-    return BRepLProp::Continuity(C1, C2, u1, u2);
+    return BRepLProp::Continuity(C1, C2, u1, u2, tol, angTol);
   }
   catch (Standard_Failure) {
   }