Salome HOME
Merge from V5_1_main branch 24/11/2010
[modules/smesh.git] / idl / SMESH_Group.idl
index c0bb54bc9ab15cb2429fc1a4167c5be9fcf3a2ab..adf63dd8365f823e3f90ea9e14c42dafe814b445 100644 (file)
@@ -82,11 +82,6 @@ module SMESH
      */
     long_array GetListOfID();
 
-    /*!
-     * Returns the mesh object this group belongs to
-     */
-    SMESH_Mesh GetMesh();
-
     /*!
      * Sets group color
      */
@@ -121,15 +116,25 @@ module SMESH
     void Clear();
 
     /*!
-     * Adds elements to the group
+     * Adds elements or nodes with specified identifiers to the group
      */
     long Add( in long_array elem_ids );
+    /*!
+     * Adds elements or nodes that match specified predicate to the group
+     */
     long AddByPredicate( in Predicate thePredicate );
+    /*!
+     * Add all elements or nodes from the specified source to the group
+     */
+    long AddFrom( in SMESH_IDSource theSource );
 
     /*!
-     * Removes elements from the group
+     * Removes elements or nodes with specified identifiers from the group
      */
     long Remove( in long_array elem_ids );
+    /*!
+     * Removes elements or nodes that match specified predicate from the group
+     */
     long RemoveByPredicate( in Predicate thePredicate );
 
   };