X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMDS%2FSMDS_MeshElement.cxx;h=42ce33bfaf08f91a5b48f6a7976a519c907d9d82;hb=refs%2Ftags%2FV9_7_0b1;hp=48221c7c6861dda72d67072bf44434508399b404;hpb=4c16067d4281f56bd07d3f92fb63fff9c0c1d169;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_MeshElement.cxx b/src/SMDS/SMDS_MeshElement.cxx index 48221c7c6..42ce33bfa 100644 --- a/src/SMDS/SMDS_MeshElement.cxx +++ b/src/SMDS/SMDS_MeshElement.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -105,7 +105,7 @@ int SMDS_MeshElement::GetNodeIndex( const SMDS_MeshNode* node ) const */ //================================================================================ -int SMDS_MeshElement::GetID() const +smIdType SMDS_MeshElement::GetID() const { return myHolder ? myHolder->GetID( this ) : -1; } @@ -138,7 +138,7 @@ int SMDS_MeshElement::GetShapeID() const */ //================================================================================ -int SMDS_MeshElement::GetVtkID() const +vtkIdType SMDS_MeshElement::GetVtkID() const { return myHolder->GetVtkID( this ); } @@ -171,7 +171,7 @@ bool SMDS_MeshElement::isMarked() const */ //================================================================================ -void SMDS_MeshElement::setVtkID( const int vtkID ) +void SMDS_MeshElement::setVtkID( const vtkIdType vtkID ) { myHolder->SetVTKID( this, vtkID ); }