Salome HOME
bos #29477 Merge branch 'CR29477'
[modules/shaper.git] / src / GeomData / GeomData_Dir.h
index 846dcd343f32d4089a64dd0a289d6941de701cf2..7b3f236df97d475789a2e680a57573e5162f2bc9 100644 (file)
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        GeomData_Dir.h
-// Created:     24 Apr 2014
-// Author:      Mikhail PONIKAROV
+// Copyright (C) 2014-2022  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 GeomData_Dir_H_
 #define GeomData_Dir_H_
@@ -41,6 +54,12 @@ class GeomData_Dir : public GeomDataAPI_Dir
   /// Returns the coordinates of this attribute
   GEOMDATA_EXPORT virtual std::shared_ptr<GeomAPI_XYZ> xyz();
 
+  /// Returns \c ture if the direction is initialized
+  GEOMDATA_EXPORT virtual bool isInitialized();
+
+  /// Resets attribute to default state.
+  GEOMDATA_EXPORT virtual void reset();
+
  protected:
   /// Initializes attributes
   GEOMDATA_EXPORT GeomData_Dir(TDF_Label& theLabel);