mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 03:20:33 +05:00
FindCoincidentNodes() now accepts a set of nodes
This commit is contained in:
parent
6becd11b62
commit
dab18e6dd3
@ -681,7 +681,8 @@ void SMESH_MeshEditor_i::FindCoincidentNodes (CORBA::Double Tol
|
|||||||
{
|
{
|
||||||
::SMESH_MeshEditor::TListOfListOfNodes aListOfListOfNodes;
|
::SMESH_MeshEditor::TListOfListOfNodes aListOfListOfNodes;
|
||||||
::SMESH_MeshEditor anEditor( _myMesh );
|
::SMESH_MeshEditor anEditor( _myMesh );
|
||||||
anEditor.FindCoincidentNodes( Tolerance, aListOfListOfNodes );
|
set<const SMDS_MeshNode*> nodes; // no input nodes
|
||||||
|
anEditor.FindCoincidentNodes( nodes, Tolerance, aListOfListOfNodes );
|
||||||
|
|
||||||
GroupsOfNodes = new SMESH::array_of_long_array;
|
GroupsOfNodes = new SMESH::array_of_long_array;
|
||||||
GroupsOfNodes->length( aListOfListOfNodes.size() );
|
GroupsOfNodes->length( aListOfListOfNodes.size() );
|
||||||
|
Loading…
Reference in New Issue
Block a user