Salome HOME
#19926 [CEA 19782] renumbering meshes \\ fix excess nodes
[modules/smesh.git] / src / StdMeshers / StdMeshers_FixedPoints1D.hxx
index 56366cb0079579ef40e63c8b795744956ea8cfb3..95bf09ed5cc0a9bb2ddf8365c075ffd358bb6cd6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  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
@@ -41,10 +41,10 @@ public:
   StdMeshers_FixedPoints1D(int hypId, SMESH_Gen* gen);
   virtual ~StdMeshers_FixedPoints1D();
 
-  void SetPoints(std::vector<double>& listParams)
+  void SetPoints(const std::vector<double>& listParams)
     throw(SALOME_Exception);
 
-  void SetNbSegments(std::vector<int>& listNbSeg) 
+  void SetNbSegments(const std::vector<int>& listNbSeg) 
     throw(SALOME_Exception);
 
   const std::vector<double>& GetPoints() const { return _params; }