Salome HOME
First stable version after merging with V3_2_2
[modules/smesh.git] / src / SMESHDS / SMESHDS_Mesh.hxx
index 8f2c16d7a40a93fbf8c58ecfb0a008f0b71ca361..967e21a67287b052df1a1bdee3a40138cd77b3d7 100644 (file)
@@ -415,6 +415,7 @@ public:
   void ClearScript();
   int ShapeToIndex(const TopoDS_Shape & aShape) const;
   const TopoDS_Shape& IndexToShape(int ShapeIndex) const;
+  int MaxShapeIndex() const { return myIndexToShape.Extent(); }
 
   SMESHDS_SubMesh * NewSubMesh(int Index);
   int AddCompoundSubmesh(const TopoDS_Shape& S, TopAbs_ShapeEnum type = TopAbs_SHAPE);