mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
- SMDS_MeshElement * MeshElement(int ID);
+ SMDS_MeshElement * MeshElement(int ID) const;
This commit is contained in:
parent
b90c9d785d
commit
1fd762e26c
@ -61,7 +61,7 @@ bool SMDS_MeshElementIDFactory::BindID(int ID, SMDS_MeshElement * elem)
|
||||
//function : MeshElement
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement(int ID)
|
||||
SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement(int ID) const
|
||||
{
|
||||
if (!myIDElements.IsBound(ID))
|
||||
return NULL;
|
||||
|
@ -42,7 +42,7 @@ class SMDS_EXPORT SMDS_MeshElementIDFactory:public SMDS_MeshIDFactory
|
||||
public:
|
||||
SMDS_MeshElementIDFactory();
|
||||
bool BindID(int ID, SMDS_MeshElement * elem);
|
||||
SMDS_MeshElement * MeshElement(int ID);
|
||||
SMDS_MeshElement * MeshElement(int ID) const;
|
||||
virtual int GetFreeID();
|
||||
virtual void ReleaseID(int ID);
|
||||
int GetMaxID() const;
|
||||
|
Loading…
Reference in New Issue
Block a user