FindCoincidentNodes() now accepts a set of nodes

This commit is contained in:
eap 2005-01-10 12:45:58 +00:00
parent 6becd11b62
commit dab18e6dd3

View File

@ -681,7 +681,8 @@ void SMESH_MeshEditor_i::FindCoincidentNodes (CORBA::Double Tol
{
::SMESH_MeshEditor::TListOfListOfNodes aListOfListOfNodes;
::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->length( aListOfListOfNodes.size() );