Salome HOME
updated copyright message
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_SimpleHypothesis_2D.hxx
index a4756bd7f48fa894c2234af9c329888a6d205b29..facbd3306c70b4dba31eaa3ee89fb0363bfb7cca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -29,7 +29,7 @@
 #include "NETGENPlugin_Defs.hxx"
 
 #include "SMESH_Hypothesis.hxx"
-#include "Utils_SALOME_Exception.hxx"
+#include "smIdType.hxx"
 
 //  Simplified parameters of NETGEN
 //
@@ -48,7 +48,7 @@ public:
    * Returns <number of segments> value.
    * Can be zero in case if LocalLength() has been set
    */
-  int GetNumberOfSegments() const { return _nbSegments; }
+  smIdType GetNumberOfSegments() const { return _nbSegments; }
 
   /*!
    * Sets <segment length> value
@@ -104,9 +104,9 @@ public:
   virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0);
 
 private:
-  int    _nbSegments;
-  double _segmentLength, _area;
-  bool   _allowQuad;
+  smIdType _nbSegments;
+  double   _segmentLength, _area;
+  bool     _allowQuad;
 };
 
 #endif