bos #20640 EDF 22800 - Adding 3D

This commit is contained in:
eap 2021-01-27 16:48:04 +03:00
parent 86007b0b5d
commit 374031c17e

View File

@ -688,6 +688,9 @@ bool SMESH_ElementSearcherImpl::getIntersParamOnLine(const gp_Lin& lin
GC_MakeSegment edge( SMESH_TNodeXYZ( face->GetNode( i )),
SMESH_TNodeXYZ( face->GetNode( (i+1)%nbNodes) ));
anExtCC.Init( lineCurve, edge.Value() );
if ( !anExtCC.Extrema().IsDone() ||
anExtCC.Extrema().IsParallel() )
continue;
if ( anExtCC.NbExtrema() > 0 && anExtCC.LowerDistance() <= tol)
{
Standard_Real pl, pe;