Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af7f9c7
)
PAL12992. Add MaxShapeIndex()
author
eap
<eap@opencascade.com>
Mon, 7 Aug 2006 12:06:43 +0000
(12:06 +0000)
committer
eap
<eap@opencascade.com>
Mon, 7 Aug 2006 12:06:43 +0000
(12:06 +0000)
src/SMESHDS/SMESHDS_Mesh.hxx
patch
|
blob
|
history
diff --git
a/src/SMESHDS/SMESHDS_Mesh.hxx
b/src/SMESHDS/SMESHDS_Mesh.hxx
index cecd0f33fc3cdbd878979e6a9a909e320a4fb4ad..d2b2257ded0d6614a6514c98f7bb25fa47949700 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Mesh.hxx
+++ b/
src/SMESHDS/SMESHDS_Mesh.hxx
@@
-435,6
+435,7
@@
public:
void ClearScript();
int ShapeToIndex(const TopoDS_Shape & aShape) const;
const TopoDS_Shape& IndexToShape(int ShapeIndex) const;
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);
SMESHDS_SubMesh * NewSubMesh(int Index);
int AddCompoundSubmesh(const TopoDS_Shape& S, TopAbs_ShapeEnum type = TopAbs_SHAPE);