Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchSolver / SolveSpaceSolver / SolveSpaceSolver_ConstraintWrapper.h
index 7045dca3e8233e3fa8407bda83f201ee23d1b9b5..41cdc72e0b7c8f1946c69e615628a782b9eb7e50 100644 (file)
@@ -1,14 +1,27 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:    SolveSpaceSolver_ConstraintWrapper.h
-// Created: 2 Dec 2015
-// Author:  Artem ZHIDKOV
+// Copyright (C) 2014-2023  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef SolveSpaceSolver_ConstraintWrapper_H_
 #define SolveSpaceSolver_ConstraintWrapper_H_
 
 #include <SketchSolver_IConstraintWrapper.h>
-#include <slvs.h>
+#include <SolveSpaceSolver_Solver.h>
 
 
 /**
@@ -33,15 +46,12 @@ public:
   /// \brief Change group for the constraint
   virtual void setGroup(const GroupID& theGroup);
   /// \brief Return identifier of the group the constraint belongs to
-  virtual const GroupID& group() const
+  virtual GroupID group() const
   { return (GroupID)mySlvsConstraint.group; }
 
   /// \brief Return type of current entity
   virtual SketchSolver_ConstraintType type() const;
 
-  /// \brief Assign numeric parameter of constraint
-  virtual void setValue(const double& theValue);
-
   /// \brief Verify the feature is used in the constraint
   virtual bool isUsed(FeaturePtr theFeature) const;
   /// \brief Verify the attribute is used in the constraint