X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Dir.h;h=be488e86fbadb3547712f5ef741cc33cf83639c3;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=1cc7f2ff92a0887c99e691ec294f50ceefdeb38c;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index 1cc7f2ff9..be488e86f 100644 --- a/src/GeomData/GeomData_Dir.h +++ b/src/GeomData/GeomData_Dir.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 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 @@ -54,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);