Salome HOME
FindCoincidentNodes() now accepts a set of nodes
authoreap <eap@opencascade.com>
Mon, 10 Jan 2005 12:45:58 +0000 (12:45 +0000)
committereap <eap@opencascade.com>
Mon, 10 Jan 2005 12:45:58 +0000 (12:45 +0000)
src/SMESH_I/SMESH_MeshEditor_i.cxx

index c18cd7dc9bd5974541ddfcd21e05900b3dba67d5..34072c00f3ff067d8c6e5edfd488a337cac1453c 100644 (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() );