Avoid a false detection of collision of a layer edge with a face
  which is behind the face the layer edge is based on
This commit is contained in:
eap 2012-11-23 11:28:28 +00:00
parent 68e80dd97f
commit d57e9eda36

View File

@ -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;