]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Sketch.h
Salome HOME
createPoint2DResult() to be used in Circle/Translation/Rotation objects. May be Sketc...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.h
index d7e65d5486ff8bcc8bbf6a0b08c4573e2c0e79ed..920ec399bb4e5a961c481511ef34fa540adafc07 100644 (file)
@@ -194,6 +194,13 @@ class SketchPlugin_Sketch : public ModelAPI_CompositeFeature//, public GeomAPI_I
   SKETCHPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
 
   SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  /// \brief Create a result for the point in the attribute if the attribute is initialized
+  /// \param theAttributeID an attribute string
+  /// \param theIndex an index of the result
+  static void createPoint2DResult(ModelAPI_Feature* theFeature,
+                                  SketchPlugin_Sketch* theSketch,
+                                  const std::string& theAttributeID, const int theIndex);
 };
 
 #endif