Salome HOME
Implementation of point 2.3.1 of CEA specification
[modules/shaper.git] / src / ConstructionAPI / ConstructionAPI_Point.h
index 03eea708e17cbb689dbc6da8e711597e2012f391..e02de26f076b32076e3e2152f466746507886369 100644 (file)
@@ -80,10 +80,8 @@ public:
   CONSTRUCTIONAPI_EXPORT
   virtual ~ConstructionAPI_Point();
 
-  INTERFACE_27(ConstructionPlugin_Point::ID(),
-               x, ConstructionPlugin_Point::X(), ModelAPI_AttributeDouble, /** X attribute */,
-               y, ConstructionPlugin_Point::Y(), ModelAPI_AttributeDouble, /** Y attribute */,
-               z, ConstructionPlugin_Point::Z(), ModelAPI_AttributeDouble, /** Z attribute */,
+  INTERFACE_25(ConstructionPlugin_Point::ID(),
+               point, ConstructionPlugin_Point::point3d(), GeomDataAPI_Point, /** Point attribute */,
                creationMethod, ConstructionPlugin_Point::CREATION_METHOD(),
                ModelAPI_AttributeString, /** Creation method */,
                intersectionType, ConstructionPlugin_Point::INTERSECTION_TYPE(),