mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 10:00:33 +05:00
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:
parent
68e80dd97f
commit
d57e9eda36
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user