Salome HOME
Improve translations to French
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.h
index be2892ac7e547c3b95fd8731b008720c2fe16db5..439805742a9959d329c71ed480c24d822bbc1051 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2019  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
 //
 // 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef ConstructionPlugin_Point_H_
@@ -89,25 +88,10 @@ public:
     return MY_CREATION_METHOD_ID;
   }
 
-  /// Attribute name for X coordinate.
-  inline static const std::string& X()
+  inline static const std::string& POINT3D()
   {
-    static const std::string POINT_ATTR_X("x");
-    return POINT_ATTR_X;
-  }
-
-  /// Attribute name for Y coordinate.
-  inline static const std::string& Y()
-  {
-    static const std::string POINT_ATTR_Y("y");
-    return POINT_ATTR_Y;
-  }
-
-  /// Attribute name for Z coordinate.
-  inline static const std::string& Z()
-  {
-    static const std::string POINT_ATTR_Z("z");
-    return POINT_ATTR_Z;
+    static const std::string POINT_ATTR("point3d");
+    return POINT_ATTR;
   }
 
   /// Attribute name for selected edge.
@@ -340,9 +324,6 @@ public:
   /// Request for initialization of data model of the feature: adding all attributes.
   CONSTRUCTIONPLUGIN_EXPORT virtual void initAttributes();
 
-  /// Construction result is allways recomuted on the fly.
-  CONSTRUCTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
-
   /// Use plugin manager for features creation
   ConstructionPlugin_Point();