X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Dir.h;h=be488e86fbadb3547712f5ef741cc33cf83639c3;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=62b229c611a678ab405a144980458cde3a1a9d77;hpb=87b6a30a3afb8fb32e7e43ade8d9c947d9eb1684;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index 62b229c61..be488e86f 100644 --- a/src/GeomData/GeomData_Dir.h +++ b/src/GeomData/GeomData_Dir.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef GeomData_Dir_H_ @@ -55,6 +54,12 @@ class GeomData_Dir : public GeomDataAPI_Dir /// Returns the coordinates of this attribute GEOMDATA_EXPORT virtual std::shared_ptr 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);