Salome HOME
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
authoreap <eap@opencascade.com>
Fri, 8 Jun 2007 13:55:28 +0000 (13:55 +0000)
committereap <eap@opencascade.com>
Fri, 8 Jun 2007 13:55:28 +0000 (13:55 +0000)
+  int  NbSubMeshes() const { return mySubMeshes.size(); }

src/SMESHDS/SMESHDS_SubMesh.hxx

index 36617577ea339a02fc623d3ddc0f89edaf80cba7..5c65a5859eee5a2ab6dd35e302e1abbaeabc5125 100644 (file)
@@ -52,6 +52,7 @@ class SMESHDS_WNT_EXPORT SMESHDS_SubMesh
   void AddSubMesh( const SMESHDS_SubMesh* theSubMesh );
   bool RemoveSubMesh( const SMESHDS_SubMesh* theSubMesh );
   bool ContainsSubMesh( const SMESHDS_SubMesh* theSubMesh ) const;
   void AddSubMesh( const SMESHDS_SubMesh* theSubMesh );
   bool RemoveSubMesh( const SMESHDS_SubMesh* theSubMesh );
   bool ContainsSubMesh( const SMESHDS_SubMesh* theSubMesh ) const;
+  int  NbSubMeshes() const { return mySubMeshes.size(); }
 
   // for both types
   int NbElements() const;
 
   // for both types
   int NbElements() const;