Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.h
index be2892ac7e547c3b95fd8731b008720c2fe16db5..bf63d8baf4ecd85f324217a0b60ee62ce6f3e1db 100644 (file)
@@ -89,25 +89,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.