]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMDS/SMDS_MeshVolume.hxx
Salome HOME
fix after review. Build completed
[modules/smesh.git] / src / SMDS / SMDS_MeshVolume.hxx
index 02d95aa825cfd2308333d75a5e3283d799fdf456..615a0d7600ec9af5f5aa142011ad24ec7e0d3729 100644 (file)
@@ -31,6 +31,8 @@
 
 #include "SMDS_MeshCell.hxx"
 
+#include <smIdType.hxx>
+
 /*!
  * \brief Mesh volume. This type is not allocated.
  *        It is only used as function argument type to provide more clear semantic
@@ -39,7 +41,7 @@
 class SMDS_EXPORT SMDS_MeshVolume : public SMDS_MeshCell
 {
   void init( const std::vector<const SMDS_MeshNode*>& nodes,
-             const std::vector<int>&                  nbNodesPerFace ); // init a polyherdon
+             const std::vector<smIdType>&             nbNodesPerFace ); // init a polyherdon
 
   void init( const std::vector<vtkIdType>& vtkNodeIds );
 
@@ -47,7 +49,7 @@ class SMDS_EXPORT SMDS_MeshVolume : public SMDS_MeshCell
 
  public:
   virtual SMDSAbs_ElementType  GetType() const { return SMDSAbs_Volume; }
-  virtual const SMDS_MeshNode* GetNode(const int ind) const;
+  virtual const SMDS_MeshNode* GetNode(const smIdType ind) const;
   virtual int  NbNodes() const;
   virtual int  NbFaces() const;
   virtual int  NbEdges() const;
@@ -69,7 +71,7 @@ class SMDS_EXPORT SMDS_MeshVolume : public SMDS_MeshCell
   // 1 <= node_ind <= NbFaceNodes()
   const SMDS_MeshNode* GetFaceNode (const int face_ind, const int node_ind) const;
 
-  std::vector<int> GetQuantities() const;
+  std::vector<smIdType> GetQuantities() const;
 
   static SMDSAbs_ElementType Type() { return SMDSAbs_Volume; }
 };