X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Point.h;h=a5f84a6d39db0d33217a8a8059f8d3dcf72c840a;hb=ea6a38a23418dfbc8eed24f70e52ef3ca8e9f4c4;hp=7537970a86564e671d0b94c9cabef0e26611d266;hpb=dc26a49174c150bb0fbb63a44ce562c17288d3ff;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Point.h b/src/ConstructionPlugin/ConstructionPlugin_Point.h index 7537970a8..a5f84a6d3 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Point.h +++ b/src/ConstructionPlugin/ConstructionPlugin_Point.h @@ -68,14 +68,14 @@ public: return MY_CREATION_METHOD_ID; } - /* /// Attribute name for creation method. - inline static const std::string& CREATION_METHOD_BY_PROJECTION() + inline static const std::string& CREATION_METHOD_BY_PROJECTION_ON_FACE() { - static const std::string MY_CREATION_METHOD_ID("by_projection"); + static const std::string MY_CREATION_METHOD_ID("by_projection_on_face"); return MY_CREATION_METHOD_ID; } + /* /// Attribute name for creation method. inline static const std::string& CREATION_METHOD_BY_LINES_INTERSECTION() { @@ -161,21 +161,21 @@ public: return ATTR_ID; } - /* - /// Attribute name for point. - inline static const std::string& POINT() + /// Attribute name for point to project on surface. + inline static const std::string& POINT_TO_PROJECT_ON_FACE() { - static const std::string ATTR_ID("point"); + static const std::string ATTR_ID("point_to_project_on_face"); return ATTR_ID; } - /// Attribute name for plane. - inline static const std::string& PLANE() + /// Attribute name for face for point projection. + inline static const std::string& FACE_FOR_POINT_PROJECTION() { - static const std::string ATTR_ID("plane"); + static const std::string ATTR_ID("face_for_point_projection"); return ATTR_ID; } + /* /// Attribute name for selected first line. inline static const std::string& FIRST_LINE() { @@ -245,8 +245,8 @@ public: private: std::shared_ptr createByXYZ(); std::shared_ptr createByDistanceOnEdge(); - /*std::shared_ptr createByProjection(); - std::shared_ptr createByLinesIntersection();*/ + std::shared_ptr createByProjectionOnFace(); + /*std::shared_ptr createByLinesIntersection();*/ std::list > createByLineAndPlaneIntersection(); };