Salome HOME
Correct misprint
[modules/shaper.git] / src / GeomData / GeomData_Point2D.h
index 017802d5f50c889fb6b93f1dfb59a84c6a200435..f72a067d0aaf4bcd45577538ef28abd4efcd5b4d 100644 (file)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        GeomData_Point2D.h
-// Created:     24 Apr 2014
-// Author:      Mikhail PONIKAROV
+// Copyright (C) 2014-2017  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<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef GeomData_Point2D_H_
 #define GeomData_Point2D_H_
@@ -60,7 +74,7 @@ class GeomData_Point2D : public GeomDataAPI_Point2D
   GEOMDATA_EXPORT virtual std::string expressionError(int theComponent);
 
   /// Defines the used parameters
-  GEOMDATA_EXPORT virtual void setUsedParameters(int theComponent, 
+  GEOMDATA_EXPORT virtual void setUsedParameters(int theComponent,
     const std::set<std::string>& theUsedParameters);
 
   /// Returns the used parameters
@@ -72,6 +86,9 @@ class GeomData_Point2D : public GeomDataAPI_Point2D
   /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
   virtual void reinit();
 
+  /// Resets attribute to deafult state.
+  virtual void reset();
+
   friend class Model_Data;
 };