fix bug 10638: add SMESH_Mesh::GetGroups() allowing correct PythonDump of groups of imported mesh

This commit is contained in:
eap 2006-05-04 17:10:22 +00:00
parent 22967ffd3f
commit 8e5fb5d7ab

View File

@ -35,6 +35,8 @@ module SMESH
{ {
interface SMESH_Hypothesis; interface SMESH_Hypothesis;
typedef sequence<SMESH_Hypothesis> ListOfHypothesis; typedef sequence<SMESH_Hypothesis> ListOfHypothesis;
interface SMESH_GroupBase;
typedef sequence<SMESH_GroupBase> ListOfGroups;
typedef sequence<double> double_array ; typedef sequence<double> double_array ;
typedef sequence<long> long_array ; typedef sequence<long> long_array ;
@ -169,7 +171,6 @@ module SMESH
long_array GetIDs(); long_array GetIDs();
}; };
interface SMESH_GroupBase;
interface SMESH_Group; interface SMESH_Group;
interface SMESH_GroupOnGeom; interface SMESH_GroupOnGeom;
interface SMESH_subMesh; interface SMESH_subMesh;
@ -236,6 +237,12 @@ module SMESH
void RemoveGroupWithContents( in SMESH_GroupBase aGroup ) void RemoveGroupWithContents( in SMESH_GroupBase aGroup )
raises (SALOME::SALOME_Exception); raises (SALOME::SALOME_Exception);
/*!
* Get the list of groups existing in the mesh
*/
ListOfGroups GetGroups()
raises (SALOME::SALOME_Exception);
/*! /*!
* Union of two groups * Union of two groups
* New group is created. All mesh elements that are * New group is created. All mesh elements that are