From: eap Date: Fri, 23 Nov 2012 11:28:28 +0000 (+0000) Subject: SALOME Forum http://www.salome-platform.org/forum/forum_10/651894792 X-Git-Tag: V6_6_0rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d57e9eda361d8d507cdfea700c37966fe1068734;p=modules%2Fsmesh.git SALOME Forum http://www.salome-platform.org/forum/forum_10/651894792 Avoid a false detection of collision of a layer edge with a face which is behind the face the layer edge is based on --- diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index f5bc7afbe..ac18c38ca 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -2858,7 +2858,7 @@ bool _LayerEdge::FindIntersection( SMESH_ElementSearcher& searcher, } if ( intFound ) { - if ( dist < segLen*(1.01)) + if ( dist < segLen*(1.01) && dist > -(_len-segLen) ) segmentIntersected = true; if ( distance > dist ) distance = dist, iFace = j;