mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
[CEA] Wrong mesh generated by Import1D2D on a cylindrical hole and sometime crash
This commit is contained in:
parent
066445b0e6
commit
e451350be3
@ -728,12 +728,14 @@ bool StdMeshers_Import_1D2D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape &
|
|||||||
{
|
{
|
||||||
const SMDS_MeshNode* n = face->GetNode( i );
|
const SMDS_MeshNode* n = face->GetNode( i );
|
||||||
if ( n == startNode || !checkedNodes.insert( n ).second ) continue;
|
if ( n == startNode || !checkedNodes.insert( n ).second ) continue;
|
||||||
helper.CheckNodeU( seamEdge, n, u=0, projTol, /*force=*/true );
|
if(helper.CheckNodeU( seamEdge, n, u=0, projTol, /*force=*/true ))
|
||||||
|
{
|
||||||
nodesOnSeam.push_back( make_pair( u, n ));
|
nodesOnSeam.push_back( make_pair( u, n ));
|
||||||
++nbNodesOnSeam;
|
++nbNodesOnSeam;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// sort the found nodes by U on the seamEdge; most probably they are in a good order,
|
// sort the found nodes by U on the seamEdge; most probably they are in a good order,
|
||||||
// so we can use the hint to spead-up map filling
|
// so we can use the hint to spead-up map filling
|
||||||
map< double, const SMDS_MeshNode* > u2nodeMap;
|
map< double, const SMDS_MeshNode* > u2nodeMap;
|
||||||
|
Loading…
Reference in New Issue
Block a user