void MergeNodes (in array_of_long_array GroupsOfNodes);
+ /*!
+ * \brief Find elements built on the same nodes.
+ * \param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching.
+ * \return List of groups of equal elements.
+ */
void FindEqualElements (in SMESH_IDSource MeshOrSubMeshOrGroup,
out array_of_long_array GroupsOfElementsID);
- void MergeEqualElements(in array_of_long_array GroupsOfElementsID);
+ /*!
+ * \brief Merge elements in each given group.
+ * \param GroupsOfElementsID Groups of elements for merging.
+ */
+ void MergeElements(in array_of_long_array GroupsOfElementsID);
+
+ /*!
+ * \brief Merge equal elements in the whole mesh.
+ */
+ void MergeEqualElements();
+
/*!
* If the given ID is a valid node ID (nodeID > 0), just move this node, else
* move the node closest to the point to point's location and return ID of the node