From 044ac3bd25d318197095ec69ab956e9d103a5e53 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 18 Apr 2007 06:48:19 +0000 Subject: [PATCH] PAL13639 (Create "0D Hypothesis") use larger tolerances calling BRepLProp::Continuity() --- src/SMESH/SMESH_Algo.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_Algo.cxx b/src/SMESH/SMESH_Algo.cxx index 16d3a99dd..455376171 100644 --- a/src/SMESH/SMESH_Algo.cxx +++ b/src/SMESH/SMESH_Algo.cxx @@ -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 = 1e-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) { } -- 2.39.2