mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 02:14:16 +05:00
make IndexToShape() const
This commit is contained in:
parent
c5f9115cd9
commit
5049039765
@ -1108,7 +1108,7 @@ int SMESHDS_Mesh::AddCompoundSubmesh(const TopoDS_Shape& S,
|
||||
//function : IndexToShape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
TopoDS_Shape SMESHDS_Mesh::IndexToShape(int ShapeIndex)
|
||||
const TopoDS_Shape& SMESHDS_Mesh::IndexToShape(int ShapeIndex) const
|
||||
{
|
||||
return myIndexToShape.FindKey(ShapeIndex);
|
||||
}
|
||||
|
@ -432,7 +432,7 @@ public:
|
||||
SMESHDS_Script * GetScript();
|
||||
void ClearScript();
|
||||
int ShapeToIndex(const TopoDS_Shape & aShape) const;
|
||||
TopoDS_Shape IndexToShape(int ShapeIndex);
|
||||
const TopoDS_Shape& IndexToShape(int ShapeIndex) const;
|
||||
|
||||
SMESHDS_SubMesh * NewSubMesh(int Index);
|
||||
int AddCompoundSubmesh(const TopoDS_Shape& S, TopAbs_ShapeEnum type = TopAbs_SHAPE);
|
||||
|
Loading…
Reference in New Issue
Block a user