mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
Merge branch 'master' into gni/evolution
This commit is contained in:
commit
f6ad065a74
@ -688,6 +688,9 @@ bool SMESH_ElementSearcherImpl::getIntersParamOnLine(const gp_Lin& lin
|
|||||||
GC_MakeSegment edge( SMESH_TNodeXYZ( face->GetNode( i )),
|
GC_MakeSegment edge( SMESH_TNodeXYZ( face->GetNode( i )),
|
||||||
SMESH_TNodeXYZ( face->GetNode( (i+1)%nbNodes) ));
|
SMESH_TNodeXYZ( face->GetNode( (i+1)%nbNodes) ));
|
||||||
anExtCC.Init( lineCurve, edge.Value() );
|
anExtCC.Init( lineCurve, edge.Value() );
|
||||||
|
if ( !anExtCC.Extrema().IsDone() ||
|
||||||
|
anExtCC.Extrema().IsParallel() )
|
||||||
|
continue;
|
||||||
if ( anExtCC.NbExtrema() > 0 && anExtCC.LowerDistance() <= tol)
|
if ( anExtCC.NbExtrema() > 0 && anExtCC.LowerDistance() <= tol)
|
||||||
{
|
{
|
||||||
Standard_Real pl, pe;
|
Standard_Real pl, pe;
|
||||||
|
Loading…
Reference in New Issue
Block a user